#223B62#223B62

#223B62 is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.3% C 0.075 H 259.0°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#223B62
RGBrgb(34, 59, 98)
HSLhsl(217, 48%, 26%)
HSVhsv(217, 65%, 38%)
CMYKcmyk(65.3%, 39.8%, 0%, 61.6%)
CIE-LABlab(24.79, 4.07, -25.98)
CIE-LCHlch(24.79, 26.29, 278.90°)
OKLaboklab(35.28% -0.0143 -0.0737)
OKLCHoklch(35.28% 0.075 259)
XYZxyz(4.4275, 4.3495, 12.1591)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223B62 #624922
analogous
#225B62 #223B62 #292262
triadic
#223B62 #62223B #3B6222
tetradic
#223B62 #62225B #624922 #226229
square
#223B62 #62225B #624922 #226229
split-complementary
#223B62 #622922 #5B6222
monochromatic
#080E17 #122035 #223B62 #32568F #4272BD

Accessibility & contrast

On white

11.23
#223B62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#223B62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223B62
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223B62#FFFFFF#000000##FFFFFF
##223B621.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3E64
Deuteranopia (green-blind)
#223861
Tritanopia (blue-blind)
#004449
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #223b62;
/* rgb */ color: rgb(34, 59, 98);
/* oklch */ color: oklch(35.3% 0.075 259.0);
Tailwind
colors: {
  custom: {
    50: '#64708f',
    500: '#223b62',
    950: '#000000',
  },
}
SCSS
$custom: #223b62;
$custom-light: #64708f;
$custom-dark: #000000;
JSON
{
  "hex": "#223b62",
  "rgb": {
    "r": 34,
    "g": 59,
    "b": 98
  },
  "hsl": {
    "h": 216.563,
    "s": 48.485,
    "l": 25.882
  },
  "oklch": {
    "l": 0.3528,
    "c": 0.07508,
    "h": 259
  },
  "luminance": 0.0435
}

Semantic roles & 50–950 ramp

primary
#223B62
secondary
#96784A
accent
#A350D8
background
#F6F6F8
surface
#EBECF0
border
#C6C7CB
text
#06070C
muted
#7A7A7D

Preview Lab

Preview with #223B62

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

Preview Lab → · Contrast checker → · Palette generator →

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