#223087#223087

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

Color values

HEX#223087
RGBrgb(34, 48, 135)
HSLhsl(232, 60%, 33%)
HSVhsv(232, 75%, 53%)
CMYKcmyk(74.8%, 64.4%, 0%, 47.1%)
CIE-LABlab(24.33, 26.22, -50.28)
CIE-LCHlch(24.33, 56.70, 297.54°)
OKLaboklab(35.8% 0.0004 -0.1452)
OKLCHoklch(35.8% 0.145 270.2)
XYZxyz(6.0883, 4.2026, 23.4073)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223087 #877922
analogous
#226287 #223087 #462287
triadic
#223087 #872230 #308722
tetradic
#223087 #872262 #877922 #228746
square
#223087 #872262 #877922 #228746
split-complementary
#223087 #874622 #628722
monochromatic
#090D25 #161F56 #223087 #2E41B8 #5062D3

Accessibility & contrast

On white

11.41
#223087 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#223087 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223087
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223087#FFFFFF#000000##FFFFFF
##2230871.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #223087;
/* rgb */ color: rgb(34, 48, 135);
/* oklch */ color: oklch(35.8% 0.145 270.2);
Tailwind
colors: {
  custom: {
    50: '#6d68ab',
    500: '#223087',
    950: '#000000',
  },
}
SCSS
$custom: #223087;
$custom-light: #6d68ab;
$custom-dark: #000000;
JSON
{
  "hex": "#223087",
  "rgb": {
    "r": 34,
    "g": 48,
    "b": 135
  },
  "hsl": {
    "h": 231.683,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.35801,
    "c": 0.14524,
    "h": 270.2
  },
  "luminance": 0.04203
}

Semantic roles & 50–950 ramp

primary
#223087
secondary
#B7A84E
accent
#CD45E3
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #223087

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

Preview Lab → · Contrast checker → · Palette generator →

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