#223885#223885

#223885 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.2% C 0.132 H 267.5°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#223885
RGBrgb(34, 56, 133)
HSLhsl(227, 59%, 33%)
HSVhsv(227, 74%, 52%)
CMYKcmyk(74.4%, 57.9%, 0%, 47.8%)
CIE-LABlab(26.34, 19.93, -45.76)
CIE-LCHlch(26.34, 49.91, 293.54°)
OKLaboklab(37.24% -0.0058 -0.1319)
OKLCHoklch(37.24% 0.132 267.5)
XYZxyz(6.3060, 4.8612, 22.7917)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223885 #856F22
analogous
#226985 #223885 #3E2285
triadic
#223885 #852238 #388522
tetradic
#223885 #852269 #856F22 #22853E
square
#223885 #852269 #856F22 #22853E
split-complementary
#223885 #853E22 #698522
monochromatic
#090F24 #162354 #223885 #2E4DB6 #4F6CD2

Accessibility & contrast

On white

10.65
#223885 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#223885 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223885
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223885#FFFFFF#000000##FFFFFF
##2238851.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004388
Deuteranopia (green-blind)
#003A83
Tritanopia (blue-blind)
#004B58
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #223885;
/* rgb */ color: rgb(34, 56, 133);
/* oklch */ color: oklch(37.2% 0.132 267.5);
Tailwind
colors: {
  custom: {
    50: '#6c6ea9',
    500: '#223885',
    950: '#000000',
  },
}
SCSS
$custom: #223885;
$custom-light: #6c6ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#223885",
  "rgb": {
    "r": 34,
    "g": 56,
    "b": 133
  },
  "hsl": {
    "h": 226.667,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.3724,
    "c": 0.132,
    "h": 267.5
  },
  "luminance": 0.04862
}

Semantic roles & 50–950 ramp

primary
#223885
secondary
#B69E4D
accent
#C045E2
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #223885

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

Preview Lab → · Contrast checker → · Palette generator →

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