#223F7B#223F7B

#223F7B is a dark, moderate blue. Relative luminance 0.053; OKLCH L 38.0% C 0.108 H 262.9°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#223F7B
RGBrgb(34, 63, 123)
HSLhsl(220, 57%, 31%)
HSVhsv(220, 72%, 48%)
CMYKcmyk(72.4%, 48.8%, 0%, 51.8%)
CIE-LABlab(27.64, 11.11, -37.39)
CIE-LCHlch(27.64, 39.00, 286.54°)
OKLaboklab(37.99% -0.0133 -0.1071)
OKLCHoklch(37.99% 0.108 262.9)
XYZxyz(6.0111, 5.3245, 19.4460)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223F7B #7B5E22
analogous
#226B7B #223F7B #31227B
triadic
#223F7B #7B223F #3F7B22
tetradic
#223F7B #7B226B #7B5E22 #227B31
square
#223F7B #7B226B #7B5E22 #227B31
split-complementary
#223F7B #7B3122 #6B7B22
monochromatic
#070E1B #15264B #223F7B #2F58AB #4A75CD

Accessibility & contrast

On white

10.17
#223F7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#223F7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223F7B
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223F7B#FFFFFF#000000##FFFFFF
##223F7B1.0010.172.0710.17
#FFFFFF10.171.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20467D
Deuteranopia (green-blind)
#0B3D7A
Tritanopia (blue-blind)
#004D57
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #223f7b;
/* rgb */ color: rgb(34, 63, 123);
/* oklch */ color: oklch(38.0% 0.108 262.9);
Tailwind
colors: {
  custom: {
    50: '#6973a2',
    500: '#223f7b',
    950: '#000000',
  },
}
SCSS
$custom: #223f7b;
$custom-light: #6973a2;
$custom-dark: #000000;
JSON
{
  "hex": "#223f7b",
  "rgb": {
    "r": 34,
    "g": 63,
    "b": 123
  },
  "hsl": {
    "h": 220.449,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.37994,
    "c": 0.10796,
    "h": 262.9
  },
  "luminance": 0.05325
}

Semantic roles & 50–950 ramp

primary
#223F7B
secondary
#AE8E4B
accent
#AE48E0
background
#F6F6FA
surface
#EBECF3
border
#C6C7CD
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #223F7B

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

Preview Lab → · Contrast checker → · Palette generator →

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