#223A92#223A92

#223A92 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.8% C 0.148 H 267.3°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#223A92
RGBrgb(34, 58, 146)
HSLhsl(227, 62%, 35%)
HSVhsv(227, 77%, 57%)
CMYKcmyk(76.7%, 60.3%, 0%, 42.7%)
CIE-LABlab(27.96, 23.65, -51.17)
CIE-LCHlch(27.96, 56.37, 294.80°)
OKLaboklab(38.79% -0.0069 -0.1477)
OKLCHoklch(38.79% 0.148 267.3)
XYZxyz(7.3592, 5.4407, 27.8509)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223A92 #927A22
analogous
#227292 #223A92 #422292
triadic
#223A92 #92223A #3A9222
tetradic
#223A92 #922272 #927A22 #229242
square
#223A92 #922272 #927A22 #229242
split-complementary
#223A92 #924222 #729222
monochromatic
#0B132F #162660 #223A92 #2E4EC4 #5772D8

Accessibility & contrast

On white

10.06
#223A92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#223A92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223A92
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223A92#FFFFFF#000000##FFFFFF
##223A921.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004795
Deuteranopia (green-blind)
#003D90
Tritanopia (blue-blind)
#005060
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #223a92;
/* rgb */ color: rgb(34, 58, 146);
/* oklch */ color: oklch(38.8% 0.148 267.3);
Tailwind
colors: {
  custom: {
    50: '#6f6fb3',
    500: '#223a92',
    950: '#000000',
  },
}
SCSS
$custom: #223a92;
$custom-light: #6f6fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#223a92",
  "rgb": {
    "r": 34,
    "g": 58,
    "b": 146
  },
  "hsl": {
    "h": 227.143,
    "s": 62.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.38787,
    "c": 0.14791,
    "h": 267.3
  },
  "luminance": 0.05442
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #223A92

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

Preview Lab → · Contrast checker → · Palette generator →

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