#223258#223258

#223258 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.4% C 0.071 H 265.4°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#223258
RGBrgb(34, 50, 88)
HSLhsl(222, 44%, 24%)
HSVhsv(222, 61%, 35%)
CMYKcmyk(61.4%, 43.2%, 0%, 65.5%)
CIE-LABlab(21.30, 6.52, -24.96)
CIE-LCHlch(21.30, 25.80, 284.64°)
OKLaboklab(32.38% -0.0057 -0.0708)
OKLCHoklch(32.38% 0.071 265.4)
XYZxyz(3.5611, 3.3256, 9.6849)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223258 #584822
analogous
#224D58 #223258 #2D2258
triadic
#223258 #582232 #325822
tetradic
#223258 #58224D #584822 #22582D
square
#223258 #58224D #584822 #22582D
split-complementary
#223258 #582D22 #4D5822
monochromatic
#090D16 #11192C #223258 #334B84 #4464B0

Accessibility & contrast

On white

12.61
#223258 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#223258 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223258
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223258#FFFFFF#000000##FFFFFF
##2232581.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223659
Deuteranopia (green-blind)
#1B3157
Tritanopia (blue-blind)
#013A40
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #223258;
/* rgb */ color: rgb(34, 50, 88);
/* oklch */ color: oklch(32.4% 0.071 265.4);
Tailwind
colors: {
  custom: {
    50: '#626987',
    500: '#223258',
    950: '#000000',
  },
}
SCSS
$custom: #223258;
$custom-light: #626987;
$custom-dark: #000000;
JSON
{
  "hex": "#223258",
  "rgb": {
    "r": 34,
    "g": 50,
    "b": 88
  },
  "hsl": {
    "h": 222.222,
    "s": 44.262,
    "l": 23.922
  },
  "oklch": {
    "l": 0.32379,
    "c": 0.07107,
    "h": 265.4
  },
  "luminance": 0.03326
}

Semantic roles & 50–950 ramp

primary
#223258
secondary
#8C784A
accent
#AE54D4
background
#F6F6F8
surface
#EBEBEF
border
#C6C6CA
text
#05060B
muted
#7A7A7C

Preview Lab

Preview with #223258

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

Preview Lab → · Contrast checker → · Palette generator →

#223258 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva