#223E7C#223E7C

#223E7C is a dark, moderate blue. Relative luminance 0.052; OKLCH L 37.8% C 0.111 H 263.7°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#223E7C
RGBrgb(34, 62, 124)
HSLhsl(221, 57%, 31%)
HSVhsv(221, 73%, 49%)
CMYKcmyk(72.6%, 50%, 0%, 51.4%)
CIE-LABlab(27.41, 12.20, -38.39)
CIE-LCHlch(27.41, 40.28, 287.62°)
OKLaboklab(37.84% -0.0122 -0.1101)
OKLCHoklch(37.84% 0.111 263.7)
XYZxyz(6.0191, 5.2399, 19.7591)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223E7C #7C6022
analogous
#226B7C #223E7C #33227C
triadic
#223E7C #7C223E #3E7C22
tetradic
#223E7C #7C226B #7C6022 #227C33
square
#223E7C #7C226B #7C6022 #227C33
split-complementary
#223E7C #7C3322 #6B7C22
monochromatic
#080E1C #15264C #223E7C #2F56AC #4B73CE

Accessibility & contrast

On white

10.25
#223E7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#223E7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223E7C
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223E7C#FFFFFF#000000##FFFFFF
##223E7C1.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C457E
Deuteranopia (green-blind)
#053D7B
Tritanopia (blue-blind)
#004D57
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #223e7c;
/* rgb */ color: rgb(34, 62, 124);
/* oklch */ color: oklch(37.8% 0.111 263.7);
Tailwind
colors: {
  custom: {
    50: '#6972a2',
    500: '#223e7c',
    950: '#000000',
  },
}
SCSS
$custom: #223e7c;
$custom-light: #6972a2;
$custom-dark: #000000;
JSON
{
  "hex": "#223e7c",
  "rgb": {
    "r": 34,
    "g": 62,
    "b": 124
  },
  "hsl": {
    "h": 221.333,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.37838,
    "c": 0.11076,
    "h": 263.7
  },
  "luminance": 0.05241
}

Semantic roles & 50–950 ramp

primary
#223E7C
secondary
#AF904B
accent
#B148E0
background
#F6F6FA
surface
#ECECF3
border
#C7C7CD
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #223E7C

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

Preview Lab → · Contrast checker → · Palette generator →

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