#223985#223985

#223985 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.5% C 0.131 H 267.1°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#223985
RGBrgb(34, 57, 133)
HSLhsl(226, 59%, 33%)
HSVhsv(226, 74%, 52%)
CMYKcmyk(74.4%, 57.1%, 0%, 47.8%)
CIE-LABlab(26.62, 19.24, -45.30)
CIE-LCHlch(26.62, 49.22, 293.01°)
OKLaboklab(37.45% -0.0067 -0.1305)
OKLCHoklch(37.45% 0.131 267.1)
XYZxyz(6.3550, 4.9591, 22.8080)
Luminance0.0496 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223985 #856E22
analogous
#226A85 #223985 #3D2285
triadic
#223985 #852239 #398522
tetradic
#223985 #85226A #856E22 #22853D
square
#223985 #85226A #856E22 #22853D
split-complementary
#223985 #853D22 #6A8522
monochromatic
#090F24 #162454 #223985 #2E4EB6 #4F6ED2

Accessibility & contrast

On white

10.54
#223985 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#223985 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223985
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223985#FFFFFF#000000##FFFFFF
##2239851.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004488
Deuteranopia (green-blind)
#003B83
Tritanopia (blue-blind)
#004C59
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #223985;
/* rgb */ color: rgb(34, 57, 133);
/* oklch */ color: oklch(37.5% 0.131 267.1);
Tailwind
colors: {
  custom: {
    50: '#6c6fa9',
    500: '#223985',
    950: '#000000',
  },
}
SCSS
$custom: #223985;
$custom-light: #6c6fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#223985",
  "rgb": {
    "r": 34,
    "g": 57,
    "b": 133
  },
  "hsl": {
    "h": 226.061,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.37453,
    "c": 0.13068,
    "h": 267.1
  },
  "luminance": 0.0496
}

Semantic roles & 50–950 ramp

primary
#223985
secondary
#B69D4D
accent
#BE45E2
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #223985

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

Preview Lab → · Contrast checker → · Palette generator →

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