#223F72#223F72

#223F72 is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.3% C 0.094 H 260.8°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#223F72
RGBrgb(34, 63, 114)
HSLhsl(218, 54%, 29%)
HSVhsv(218, 70%, 45%)
CMYKcmyk(70.2%, 44.7%, 0%, 55.3%)
CIE-LABlab(27.04, 7.55, -32.66)
CIE-LCHlch(27.04, 33.52, 283.01°)
OKLaboklab(37.34% -0.015 -0.0932)
OKLCHoklch(37.34% 0.094 260.8)
XYZxyz(5.4734, 5.1095, 16.6141)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223F72 #725522
analogous
#226772 #223F72 #2D2272
triadic
#223F72 #72223F #3F7222
tetradic
#223F72 #722267 #725522 #22722D
square
#223F72 #722267 #725522 #22722D
split-complementary
#223F72 #722D22 #677222
monochromatic
#070D18 #142543 #223F72 #3059A1 #4675C8

Accessibility & contrast

On white

10.39
#223F72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#223F72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223F72
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223F72#FFFFFF#000000##FFFFFF
##223F721.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274474
Deuteranopia (green-blind)
#1A3C71
Tritanopia (blue-blind)
#004B53
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #223f72;
/* rgb */ color: rgb(34, 63, 114);
/* oklch */ color: oklch(37.3% 0.094 260.8);
Tailwind
colors: {
  custom: {
    50: '#67739b',
    500: '#223f72',
    950: '#000000',
  },
}
SCSS
$custom: #223f72;
$custom-light: #67739b;
$custom-dark: #000000;
JSON
{
  "hex": "#223f72",
  "rgb": {
    "r": 34,
    "g": 63,
    "b": 114
  },
  "hsl": {
    "h": 218.25,
    "s": 54.054,
    "l": 29.02
  },
  "oklch": {
    "l": 0.37344,
    "c": 0.09444,
    "h": 260.8
  },
  "luminance": 0.0511
}

Semantic roles & 50–950 ramp

primary
#223F72
secondary
#A5844B
accent
#A84ADD
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #223F72

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

Preview Lab → · Contrast checker → · Palette generator →

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