#223285#223285

#223285 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.0% C 0.140 H 269.6°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#223285
RGBrgb(34, 50, 133)
HSLhsl(230, 59%, 33%)
HSVhsv(230, 74%, 52%)
CMYKcmyk(74.4%, 62.4%, 0%, 47.8%)
CIE-LABlab(24.68, 24.08, -48.45)
CIE-LCHlch(24.68, 54.10, 296.43°)
OKLaboklab(36.01% -0.001 -0.1399)
OKLCHoklch(36.01% 0.14 269.6)
XYZxyz(6.0325, 4.3141, 22.7005)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223285 #857522
analogous
#226385 #223285 #432285
triadic
#223285 #852232 #328522
tetradic
#223285 #852263 #857522 #228543
square
#223285 #852263 #857522 #228543
split-complementary
#223285 #854322 #638522
monochromatic
#090D24 #162054 #223285 #2E44B6 #4F64D2

Accessibility & contrast

On white

11.27
#223285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#223285 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223285
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223285#FFFFFF#000000##FFFFFF
##2232851.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F88
Deuteranopia (green-blind)
#003683
Tritanopia (blue-blind)
#004756
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #223285;
/* rgb */ color: rgb(34, 50, 133);
/* oklch */ color: oklch(36.0% 0.140 269.6);
Tailwind
colors: {
  custom: {
    50: '#6c69a9',
    500: '#223285',
    950: '#000000',
  },
}
SCSS
$custom: #223285;
$custom-light: #6c69a9;
$custom-dark: #000000;
JSON
{
  "hex": "#223285",
  "rgb": {
    "r": 34,
    "g": 50,
    "b": 133
  },
  "hsl": {
    "h": 230.303,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.36008,
    "c": 0.13986,
    "h": 269.6
  },
  "luminance": 0.04315
}

Semantic roles & 50–950 ramp

primary
#223285
secondary
#B6A54D
accent
#C945E2
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #223285

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

Preview Lab → · Contrast checker → · Palette generator →

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