#223994#223994

#223994 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.8% C 0.152 H 267.7°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#223994
RGBrgb(34, 57, 148)
HSLhsl(228, 63%, 36%)
HSVhsv(228, 77%, 58%)
CMYKcmyk(77%, 61.5%, 0%, 42%)
CIE-LABlab(27.86, 25.11, -52.56)
CIE-LCHlch(27.86, 58.25, 295.53°)
OKLaboklab(38.77% -0.0062 -0.1519)
OKLCHoklch(38.77% 0.152 267.7)
XYZxyz(7.4663, 5.4036, 28.6607)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223994 #947D22
analogous
#227294 #223994 #442294
triadic
#223994 #942239 #399422
tetradic
#223994 #942272 #947D22 #229444
square
#223994 #942272 #947D22 #229444
split-complementary
#223994 #944422 #729422
monochromatic
#0B1330 #172662 #223994 #2D4CC6 #5872D9

Accessibility & contrast

On white

10.09
#223994 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#223994 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223994
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223994#FFFFFF#000000##FFFFFF
##2239941.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #223994;
/* rgb */ color: rgb(34, 57, 148);
/* oklch */ color: oklch(38.8% 0.152 267.7);
Tailwind
colors: {
  custom: {
    50: '#6f6fb4',
    500: '#223994',
    950: '#000000',
  },
}
SCSS
$custom: #223994;
$custom-light: #6f6fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#223994",
  "rgb": {
    "r": 34,
    "g": 57,
    "b": 148
  },
  "hsl": {
    "h": 227.895,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.38765,
    "c": 0.15198,
    "h": 267.7
  },
  "luminance": 0.05404
}

Semantic roles & 50–950 ramp

primary
#223994
secondary
#BDA855
accent
#C542E6
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #223994

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

Preview Lab → · Contrast checker → · Palette generator →

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