#223B7F#223B7F

#223B7F is a dark, moderate blue. Relative luminance 0.050; OKLCH L 37.4% C 0.119 H 265.7°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#223B7F
RGBrgb(34, 59, 127)
HSLhsl(224, 58%, 32%)
HSVhsv(224, 73%, 50%)
CMYKcmyk(73.2%, 53.5%, 0%, 50.2%)
CIE-LABlab(26.73, 15.47, -41.36)
CIE-LCHlch(26.73, 44.16, 290.51°)
OKLaboklab(37.39% -0.009 -0.1189)
OKLCHoklch(37.39% 0.119 265.7)
XYZxyz(6.0531, 4.9997, 20.7206)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223B7F #7F6622
analogous
#226A7F #223B7F #38227F
triadic
#223B7F #7F223B #3B7F22
tetradic
#223B7F #7F226A #7F6622 #227F38
square
#223B7F #7F226A #7F6622 #227F38
split-complementary
#223B7F #7F3822 #6A7F22
monochromatic
#080E1E #15254F #223B7F #2F51AF #4C6FCF

Accessibility & contrast

On white

10.50
#223B7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#223B7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223B7F
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223B7F#FFFFFF#000000##FFFFFF
##223B7F1.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104481
Deuteranopia (green-blind)
#003B7E
Tritanopia (blue-blind)
#004B57
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #223b7f;
/* rgb */ color: rgb(34, 59, 127);
/* oklch */ color: oklch(37.4% 0.119 265.7);
Tailwind
colors: {
  custom: {
    50: '#6a70a5',
    500: '#223b7f',
    950: '#000000',
  },
}
SCSS
$custom: #223b7f;
$custom-light: #6a70a5;
$custom-dark: #000000;
JSON
{
  "hex": "#223b7f",
  "rgb": {
    "r": 34,
    "g": 59,
    "b": 127
  },
  "hsl": {
    "h": 223.871,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.37394,
    "c": 0.11923,
    "h": 265.7
  },
  "luminance": 0.05
}

Semantic roles & 50–950 ramp

primary
#223B7F
secondary
#B2964B
accent
#B847E1
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #223B7F

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

Preview Lab → · Contrast checker → · Palette generator →

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