#223287#223287

#223287 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.2% C 0.143 H 269.6°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#223287
RGBrgb(34, 50, 135)
HSLhsl(230, 60%, 33%)
HSVhsv(230, 75%, 53%)
CMYKcmyk(74.8%, 63%, 0%, 47.1%)
CIE-LABlab(24.86, 24.86, -49.41)
CIE-LCHlch(24.86, 55.31, 296.70°)
OKLaboklab(36.19% -0.0011 -0.1427)
OKLCHoklch(36.19% 0.143 269.6)
XYZxyz(6.1720, 4.3699, 23.4352)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223287 #877722
analogous
#226487 #223287 #442287
triadic
#223287 #872232 #328722
tetradic
#223287 #872264 #877722 #228744
square
#223287 #872264 #877722 #228744
split-complementary
#223287 #874422 #648722
monochromatic
#090E25 #162056 #223287 #2E44B8 #5065D3

Accessibility & contrast

On white

11.20
#223287 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#223287 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223287
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223287#FFFFFF#000000##FFFFFF
##2232871.0011.201.8711.20
#FFFFFF11.201.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408A
Deuteranopia (green-blind)
#003685
Tritanopia (blue-blind)
#004857
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #223287;
/* rgb */ color: rgb(34, 50, 135);
/* oklch */ color: oklch(36.2% 0.143 269.6);
Tailwind
colors: {
  custom: {
    50: '#6d69ab',
    500: '#223287',
    950: '#000000',
  },
}
SCSS
$custom: #223287;
$custom-light: #6d69ab;
$custom-dark: #000000;
JSON
{
  "hex": "#223287",
  "rgb": {
    "r": 34,
    "g": 50,
    "b": 135
  },
  "hsl": {
    "h": 230.495,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.36191,
    "c": 0.14269,
    "h": 269.6
  },
  "luminance": 0.04371
}

Semantic roles & 50–950 ramp

primary
#223287
secondary
#B7A64E
accent
#CA45E3
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #223287

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

Preview Lab → · Contrast checker → · Palette generator →

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