#224397#224397

#224397 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.1% C 0.143 H 264.6°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#224397
RGBrgb(34, 67, 151)
HSLhsl(223, 63%, 36%)
HSVhsv(223, 77%, 59%)
CMYKcmyk(77.5%, 55.6%, 0%, 40.8%)
CIE-LABlab(30.85, 19.45, -49.52)
CIE-LCHlch(30.85, 53.21, 291.44°)
OKLaboklab(41.09% -0.0134 -0.1428)
OKLCHoklch(41.09% 0.143 264.6)
XYZxyz(8.2508, 6.5878, 30.1089)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224397 #977622
analogous
#227E97 #224397 #3C2297
triadic
#224397 #972243 #439722
tetradic
#224397 #97227E #977622 #22973C
square
#224397 #97227E #977622 #22973C
split-complementary
#224397 #973C22 #7E9722
monochromatic
#0C1733 #172D65 #224397 #2D59C9 #5A7EDA

Accessibility & contrast

On white

9.06
#224397 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#224397 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #224397
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224397#FFFFFF#000000##FFFFFF
##2243971.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9A
Deuteranopia (green-blind)
#004395
Tritanopia (blue-blind)
#005866
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #224397;
/* rgb */ color: rgb(34, 67, 151);
/* oklch */ color: oklch(41.1% 0.143 264.6);
Tailwind
colors: {
  custom: {
    50: '#6f76b6',
    500: '#224397',
    950: '#000000',
  },
}
SCSS
$custom: #224397;
$custom-light: #6f76b6;
$custom-dark: #000000;
JSON
{
  "hex": "#224397",
  "rgb": {
    "r": 34,
    "g": 67,
    "b": 151
  },
  "hsl": {
    "h": 223.077,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.41087,
    "c": 0.14339,
    "h": 264.6
  },
  "luminance": 0.06589
}

Semantic roles & 50–950 ramp

primary
#224397
secondary
#BEA157
accent
#B842E6
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #224397

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

Preview Lab → · Contrast checker → · Palette generator →

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