#223A94#223A94

#223A94 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.0% C 0.151 H 267.4°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#223A94
RGBrgb(34, 58, 148)
HSLhsl(227, 63%, 36%)
HSVhsv(227, 77%, 58%)
CMYKcmyk(77%, 60.8%, 0%, 42%)
CIE-LABlab(28.12, 24.43, -52.13)
CIE-LCHlch(28.12, 57.56, 295.11°)
OKLaboklab(38.96% -0.0069 -0.1505)
OKLCHoklch(38.96% 0.151 267.4)
XYZxyz(7.5162, 5.5035, 28.6774)
Luminance0.0550 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223A94 #947C22
analogous
#227394 #223A94 #432294
triadic
#223A94 #94223A #3A9422
tetradic
#223A94 #942273 #947C22 #229443
square
#223A94 #942273 #947C22 #229443
split-complementary
#223A94 #944322 #739422
monochromatic
#0B1330 #172662 #223A94 #2D4EC6 #5873D9

Accessibility & contrast

On white

10.00
#223A94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#223A94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223A94
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223A94#FFFFFF#000000##FFFFFF
##223A941.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004897
Deuteranopia (green-blind)
#003D92
Tritanopia (blue-blind)
#005161
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #223a94;
/* rgb */ color: rgb(34, 58, 148);
/* oklch */ color: oklch(39.0% 0.151 267.4);
Tailwind
colors: {
  custom: {
    50: '#6f6fb4',
    500: '#223a94',
    950: '#000000',
  },
}
SCSS
$custom: #223a94;
$custom-light: #6f6fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#223a94",
  "rgb": {
    "r": 34,
    "g": 58,
    "b": 148
  },
  "hsl": {
    "h": 227.368,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.38965,
    "c": 0.15071,
    "h": 267.4
  },
  "luminance": 0.05504
}

Semantic roles & 50–950 ramp

primary
#223A94
secondary
#BDA755
accent
#C342E6
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #223A94

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

Preview Lab → · Contrast checker → · Palette generator →

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