#DEF2FF#DEF2FF

#DEF2FF is a very light, muted cyan. Relative luminance 0.863; OKLCH L 95.0% C 0.028 H 236.2°. Best body text is #000000 at 18.25:1 contrast (WCAG AA passes).

Color values

HEX#DEF2FF
RGBrgb(222, 242, 255)
HSLhsl(204, 100%, 94%)
HSVhsv(204, 13%, 100%)
CMYKcmyk(12.9%, 5.1%, 0%, 0%)
CIE-LABlab(94.42, -4.02, -8.48)
CIE-LCHlch(94.42, 9.38, 244.65°)
OKLaboklab(95.03% -0.0153 -0.0228)
OKLCHoklch(95.03% 0.028 236.2)
XYZxyz(79.9221, 86.2524, 107.0260)
Luminance0.8625 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF2FF #FFEBDE
analogous
#DEFFFB #DEF2FF #DEE1FF
triadic
#DEF2FF #FFDEF2 #F2FFDE
tetradic
#DEF2FF #FBDEFF #FFEBDE #E1FFDE
square
#DEF2FF #FBDEFF #FFEBDE #E1FFDE
split-complementary
#DEF2FF #FFDEE1 #FFFBDE
monochromatic
#64C2FF #A1DAFF #DEF2FF #E0F3FF #E0F3FF

Accessibility & contrast

On white

1.15
#DEF2FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.25
#DEF2FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF2FF
18.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF2FF#FFFFFF#000000##000000
##DEF2FF1.001.1518.2518.25
#FFFFFF1.151.0021.0021.00
#00000018.2521.001.001.00
##00000018.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECF1FF
Deuteranopia (green-blind)
#E8EDFF
Tritanopia (blue-blind)
#D6F5F6
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #def2ff;
/* rgb */ color: rgb(222, 242, 255);
/* oklch */ color: oklch(95.0% 0.028 236.2);
Tailwind
colors: {
  custom: {
    50: '#e8f6ff',
    500: '#def2ff',
    950: '#000000',
  },
}
SCSS
$custom: #def2ff;
$custom-light: #e8f6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#def2ff",
  "rgb": {
    "r": 222,
    "g": 242,
    "b": 255
  },
  "hsl": {
    "h": 203.636,
    "s": 100,
    "l": 93.529
  },
  "oklch": {
    "l": 0.95032,
    "c": 0.0275,
    "h": 236.2
  },
  "luminance": 0.86254
}

Semantic roles & 50–950 ramp

primary
#DEF2FF
secondary
#ECB795
accent
#5A00E6
background
#FEFFFF
surface
#FCFEFF
border
#D5D6D7
text
#161718
muted
#848586

Preview Lab

Preview with #DEF2FF

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#DEF2FF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva