Skip to content

#f2fafe

a pale, electric blue · cool · closest name: Alice Blue

RGB
242, 250, 254
HSL
200°, 86%, 97%
CMYK
5, 2, 0, 0
Luminance
0.9440

At a glance

Every number on this page in one read: what #f2fafe is made of, how bright it looks, and which way it leans.

Hex
#f2fafe
Hue
200°
blue
Saturation
86%
electric
Lightness
97%
pale
Brightness
100%
HSV value
Perceived
97%
weighted brightness
Luminance
0.9440
WCAG relative
Temperature
Cool
96/100 cool
Color family
Blue
Tone
Electric
Best ink
Black
19.88:1
Closest name
Alice Blue
ΔE2000 1.5
Where it sits
Hue200° of 360°
Saturation86%
Lightness97%
Temperature
Warm ← → Cool96% cool

Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#f2fafe
RGBrgb(242, 250, 254)
HSLhsl(200, 86%, 97%)
CMYKcmyk(5%, 2%, 0%, 0%)
LABlab(97.8 -1.9 -2.8)
LCHlch(97.8 3.4 236.1)
OKLCHoklch(0.980 0.010 228.9)
Decimal15923966
Display P3color(display-p3 0.949 0.980 0.996)

Copy-ready code

/* CSS */
color: #f2fafe;
background-color: #f2fafe;
/* Tailwind (arbitrary) */
class="text-[#f2fafe] bg-[#f2fafe]"
/* SCSS */
$brand: #f2fafe;
/* SwiftUI */
Color(red: 0.949, green: 0.980, blue: 0.996)
/* Android */
Color.parseColor("#f2fafe")
/* Flutter */
Color(0xFFF2FAFE)
/* Python / OpenCV (BGR) */
(254, 250, 242)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#000000 on #f2fafe · 19.88:1
Use #000000AAA at every size.
Aa
White text · 1.06:1
AA fail · AA large fail · AAA fail
Aa
Black text · 19.88:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #f2fafe as text scores 1.06:1 on white and 19.88:1 on black.

Accessibility — WCAG contrast

Aa
#f2fafe on white: 1.06:1
AA ✗ fail · AA-large · AAA
Aa
#f2fafe on black: 19.88:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #F8FAFE
deuteranopia · #F6F8FE
tritanopia · #EFFBFB

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #f2fafe is pinned to step 50; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#f2fafe
#E5F3FA
#C5E6F7
#97D7F7
#63C3F3
#2FAFEF
#129DE3
#0F83BD
#0C6998
#0D4D6D
#083044
Base = 50Lightest = 50 · #f2fafeDarkest = 950 · #083044
:root {
  --brand-50: #f2fafe;
  --brand-100: #E5F3FA;
  --brand-200: #C5E6F7;
  --brand-300: #97D7F7;
  --brand-400: #63C3F3;
  --brand-500: #2FAFEF;
  --brand-600: #129DE3;
  --brand-700: #0F83BD;
  --brand-800: #0C6998;
  --brand-900: #0D4D6D;
  --brand-950: #083044;
  --brand: #f2fafe;
  --brand-ink: #000000;
}

Colors that work with #f2fafe

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#F4F8FA
Tinted page background
Border#C0DEED
Hairlines and dividers
Muted text#4B809B
Captions on the surface
Accent#BD1D0F
Second voice, not a rival
Dark variant#095276
Hover, pressed, headers
Light variant#E7F6FD
Selected rows, tints
Dark surface#141F24
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #f2fafe

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • Full-page backgrounds — tiring over long sessions
  • White text placed on it
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#FEF6F2
Analogous left#F2FEFC
Analogous right#F2F4FE
Split-complement 1#FEF2F4
Split-complement 2#FEFCF2
Triadic 1#FEF2FA
Triadic 2#FAFEF2
Tetradic#FCF2FE

RGB percentages

Red94.9%
Green98.0%
Blue99.6%

CMYK percentages

Cyan4.7%
Magenta1.6%
Yellow0.0%
Key (black)0.4%

Color previews

#f2fafe text on a black background

contrast 19.88:1

Card sample

#f2fafe text on a white background

contrast 1.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #f2fafe;
Background color
Panel with #f2fafe background
background-color: #f2fafe;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #f2fafe;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(242, 250, 254, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(242, 250, 254, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f2fafe;
background: linear-gradient(135deg, #f2fafe, #F2F2FE);

Monochromatic scale

Palettes built from #f2fafe

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#f2fafe in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
TechnologyFinanceHealthcareEnterprise SaaS
Common UI roles
SurfacesBadgesHighlightsEmpty states
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#f2fafe, answered

What color is #f2fafe?

#f2fafe is a pale electric blue, closest to Alice Blue (ΔE2000 1.5). It sits at 200° on the hue wheel with 86% saturation and 97% lightness, which reads as cool.

What is the RGB value of #f2fafe?

rgb(242, 250, 254) — 242 red, 250 green and 254 blue out of 255, or 94.9% / 98% / 99.6% by channel.

Is #f2fafe a light or a dark color?

It is a light color. Relative luminance is 0.9440 and perceived brightness is 97%, so black text on it reaches 19.88:1.

Should I use black or white text on #f2fafe?

Black. It scores 19.88:1 against #f2fafe, versus 1.06:1 for white — AAA at any size.

What is the complementary color of #f2fafe?

#FEF6F2 sits directly opposite on the wheel. Softer options are the split-complements #FEF2F4 and #FEFCF2, which give the same contrast with far less vibration.

What colors go well with #f2fafe?

For interface work: #F4F8FA as the surface, #C0DEED for borders, #4B809B for secondary text, #BD1D0F as an accent and #095276 for hover and pressed states. For a palette, the analogous pair #F2FEFC and #F2F4FE stays calm, while #FEF6F2 is the loudest partner.

What is #f2fafe in CMYK for printing?

cmyk(5%, 2%, 0%, 0%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #f2fafe warm or cool?

Cool — it scores 96 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #F1FEFD; nudged cooler, #F1F7FE.

Work with #f2fafe in the Color Lab