#223F7C#223F7C

#223F7C is a dark, moderate blue. Relative luminance 0.053; OKLCH L 38.1% C 0.109 H 263.1°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#223F7C
RGBrgb(34, 63, 124)
HSLhsl(221, 57%, 31%)
HSVhsv(221, 73%, 49%)
CMYKcmyk(72.6%, 49.2%, 0%, 51.4%)
CIE-LABlab(27.71, 11.50, -37.91)
CIE-LCHlch(27.71, 39.61, 286.88°)
OKLaboklab(38.07% -0.0132 -0.1086)
OKLCHoklch(38.07% 0.109 263.1)
XYZxyz(6.0740, 5.3497, 19.7774)
Luminance0.0535 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223F7C #7C5F22
analogous
#226C7C #223F7C #32227C
triadic
#223F7C #7C223F #3F7C22
tetradic
#223F7C #7C226C #7C5F22 #227C32
square
#223F7C #7C226C #7C5F22 #227C32
split-complementary
#223F7C #7C3222 #6C7C22
monochromatic
#080E1C #15274C #223F7C #2F57AC #4B75CE

Accessibility & contrast

On white

10.14
#223F7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #223F7C
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223F7C#FFFFFF#000000##FFFFFF
##223F7C1.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F467E
Deuteranopia (green-blind)
#093E7B
Tritanopia (blue-blind)
#004D57
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #223f7c;
/* rgb */ color: rgb(34, 63, 124);
/* oklch */ color: oklch(38.1% 0.109 263.1);
Tailwind
colors: {
  custom: {
    50: '#6973a2',
    500: '#223f7c',
    950: '#000000',
  },
}
SCSS
$custom: #223f7c;
$custom-light: #6973a2;
$custom-dark: #000000;
JSON
{
  "hex": "#223f7c",
  "rgb": {
    "r": 34,
    "g": 63,
    "b": 124
  },
  "hsl": {
    "h": 220.667,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.38069,
    "c": 0.10945,
    "h": 263.1
  },
  "luminance": 0.0535
}

Semantic roles & 50–950 ramp

primary
#223F7C
secondary
#AF8F4B
accent
#AF48E0
background
#F6F6FA
surface
#ECECF3
border
#C7C7CD
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #223F7C

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

Preview Lab → · Contrast checker → · Palette generator →

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