#223185#223185

#223185 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.8% C 0.141 H 269.9°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#223185
RGBrgb(34, 49, 133)
HSLhsl(231, 59%, 33%)
HSVhsv(231, 74%, 52%)
CMYKcmyk(74.4%, 63.2%, 0%, 47.8%)
CIE-LABlab(24.42, 24.77, -48.88)
CIE-LCHlch(24.42, 54.80, 296.87°)
OKLaboklab(35.81% -0.0003 -0.1411)
OKLCHoklch(35.81% 0.141 269.9)
XYZxyz(5.9902, 4.2295, 22.6864)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223185 #857622
analogous
#226285 #223185 #442285
triadic
#223185 #852231 #318522
tetradic
#223185 #852262 #857622 #228544
square
#223185 #852262 #857622 #228544
split-complementary
#223185 #854422 #628522
monochromatic
#090D24 #161F54 #223185 #2E43B6 #4F63D2

Accessibility & contrast

On white

11.38
#223185 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#223185 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223185
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223185#FFFFFF#000000##FFFFFF
##2231851.0011.381.8511.38
#FFFFFF11.381.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #223185;
/* rgb */ color: rgb(34, 49, 133);
/* oklch */ color: oklch(35.8% 0.141 269.9);
Tailwind
colors: {
  custom: {
    50: '#6c69a9',
    500: '#223185',
    950: '#000000',
  },
}
SCSS
$custom: #223185;
$custom-light: #6c69a9;
$custom-dark: #000000;
JSON
{
  "hex": "#223185",
  "rgb": {
    "r": 34,
    "g": 49,
    "b": 133
  },
  "hsl": {
    "h": 230.909,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.35809,
    "c": 0.14115,
    "h": 269.9
  },
  "luminance": 0.0423
}

Semantic roles & 50–950 ramp

primary
#223185
secondary
#B6A64D
accent
#CB45E2
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #223185

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

Preview Lab → · Contrast checker → · Palette generator →

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