#223A90#223A90

#223A90 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.6% C 0.145 H 267.2°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#223A90
RGBrgb(34, 58, 144)
HSLhsl(227, 62%, 35%)
HSVhsv(227, 76%, 56%)
CMYKcmyk(76.4%, 59.7%, 0%, 43.5%)
CIE-LABlab(27.79, 22.87, -50.21)
CIE-LCHlch(27.79, 55.17, 294.48°)
OKLaboklab(38.61% -0.007 -0.1449)
OKLCHoklch(38.61% 0.145 267.2)
XYZxyz(7.2050, 5.3790, 27.0387)
Luminance0.0538 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223A90 #907822
analogous
#227190 #223A90 #412290
triadic
#223A90 #90223A #3A9022
tetradic
#223A90 #902271 #907822 #229041
square
#223A90 #902271 #907822 #229041
split-complementary
#223A90 #904122 #719022
monochromatic
#0B122D #16265E #223A90 #2E4EC2 #5572D7

Accessibility & contrast

On white

10.12
#223A90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#223A90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223A90
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223A90#FFFFFF#000000##FFFFFF
##223A901.0010.122.0810.12
#FFFFFF10.121.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004793
Deuteranopia (green-blind)
#003D8E
Tritanopia (blue-blind)
#00505F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #223a90;
/* rgb */ color: rgb(34, 58, 144);
/* oklch */ color: oklch(38.6% 0.145 267.2);
Tailwind
colors: {
  custom: {
    50: '#6e6fb1',
    500: '#223a90',
    950: '#000000',
  },
}
SCSS
$custom: #223a90;
$custom-light: #6e6fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#223a90",
  "rgb": {
    "r": 34,
    "g": 58,
    "b": 144
  },
  "hsl": {
    "h": 226.909,
    "s": 61.798,
    "l": 34.902
  },
  "oklch": {
    "l": 0.3861,
    "c": 0.14511,
    "h": 267.2
  },
  "luminance": 0.0538
}

Semantic roles & 50–950 ramp

primary
#223A90
secondary
#BBA453
accent
#C243E5
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #223A90

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

Preview Lab → · Contrast checker → · Palette generator →

#223A90 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva