#223F68#223F68

#223F68 is a dark, moderate blue. Relative luminance 0.049; OKLCH L 36.7% C 0.079 H 257.3°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#223F68
RGBrgb(34, 63, 104)
HSLhsl(215, 51%, 27%)
HSVhsv(215, 67%, 41%)
CMYKcmyk(67.3%, 39.4%, 0%, 59.2%)
CIE-LABlab(26.43, 3.64, -27.25)
CIE-LCHlch(26.43, 27.50, 277.61°)
OKLaboklab(36.67% -0.0175 -0.0774)
OKLCHoklch(36.67% 0.079 257.3)
XYZxyz(4.9350, 4.8941, 13.7786)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223F68 #684B22
analogous
#226268 #223F68 #282268
triadic
#223F68 #68223F #3F6822
tetradic
#223F68 #682262 #684B22 #226828
square
#223F68 #682262 #684B22 #226828
split-complementary
#223F68 #682822 #626822
monochromatic
#080E17 #13233A #223F68 #315B96 #4377C2

Accessibility & contrast

On white

10.61
#223F68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#223F68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223F68
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223F68#FFFFFF#000000##FFFFFF
##223F681.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D426A
Deuteranopia (green-blind)
#233C67
Tritanopia (blue-blind)
#00484E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #223f68;
/* rgb */ color: rgb(34, 63, 104);
/* oklch */ color: oklch(36.7% 0.079 257.3);
Tailwind
colors: {
  custom: {
    50: '#657393',
    500: '#223f68',
    950: '#000000',
  },
}
SCSS
$custom: #223f68;
$custom-light: #657393;
$custom-dark: #000000;
JSON
{
  "hex": "#223f68",
  "rgb": {
    "r": 34,
    "g": 63,
    "b": 104
  },
  "hsl": {
    "h": 215.143,
    "s": 50.725,
    "l": 27.059
  },
  "oklch": {
    "l": 0.36669,
    "c": 0.07933,
    "h": 257.3
  },
  "luminance": 0.04895
}

Semantic roles & 50–950 ramp

primary
#223F68
secondary
#9C7A4A
accent
#A04EDA
background
#F6F6F9
surface
#EBECF1
border
#C6C7CB
text
#06080D
muted
#7A7B7E

Preview Lab

Preview with #223F68

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

Preview Lab → · Contrast checker → · Palette generator →

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