#223E6B#223E6B

#223E6B is a dark, moderate blue. Relative luminance 0.048; OKLCH L 36.6% C 0.085 H 259.5°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#223E6B
RGBrgb(34, 62, 107)
HSLhsl(217, 52%, 28%)
HSVhsv(217, 68%, 42%)
CMYKcmyk(68.2%, 42.1%, 0%, 58%)
CIE-LABlab(26.29, 5.49, -29.40)
CIE-LCHlch(26.29, 29.90, 280.58°)
OKLaboklab(36.62% -0.0155 -0.0837)
OKLCHoklch(36.62% 0.085 259.5)
XYZxyz(5.0352, 4.8464, 14.5772)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223E6B #6B4F22
analogous
#22636B #223E6B #2A226B
triadic
#223E6B #6B223E #3E6B22
tetradic
#223E6B #6B2263 #6B4F22 #226B2A
square
#223E6B #6B2263 #6B4F22 #226B2A
split-complementary
#223E6B #6B2A22 #636B22
monochromatic
#070D17 #13233D #223E6B #315999 #4475C4

Accessibility & contrast

On white

10.66
#223E6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#223E6B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223E6B
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223E6B#FFFFFF#000000##FFFFFF
##223E6B1.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A426D
Deuteranopia (green-blind)
#1F3B6A
Tritanopia (blue-blind)
#00484F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #223e6b;
/* rgb */ color: rgb(34, 62, 107);
/* oklch */ color: oklch(36.6% 0.085 259.5);
Tailwind
colors: {
  custom: {
    50: '#667295',
    500: '#223e6b',
    950: '#000000',
  },
}
SCSS
$custom: #223e6b;
$custom-light: #667295;
$custom-dark: #000000;
JSON
{
  "hex": "#223e6b",
  "rgb": {
    "r": 34,
    "g": 62,
    "b": 107
  },
  "hsl": {
    "h": 216.986,
    "s": 51.773,
    "l": 27.647
  },
  "oklch": {
    "l": 0.3662,
    "c": 0.0851,
    "h": 259.5
  },
  "luminance": 0.04847
}

Semantic roles & 50–950 ramp

primary
#223E6B
secondary
#9F7E4A
accent
#A54DDB
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06080D
muted
#7A7B7E

Preview Lab

Preview with #223E6B

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

Preview Lab → · Contrast checker → · Palette generator →

#223E6B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva