#224381#224381

#224381 is a dark, moderate blue. Relative luminance 0.059; OKLCH L 39.4% C 0.112 H 261.7°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#224381
RGBrgb(34, 67, 129)
HSLhsl(219, 58%, 32%)
HSVhsv(219, 74%, 51%)
CMYKcmyk(73.6%, 48.1%, 0%, 49.4%)
CIE-LABlab(29.26, 10.73, -38.54)
CIE-LCHlch(29.26, 40.01, 285.55°)
OKLaboklab(39.37% -0.0162 -0.1105)
OKLCHoklch(39.37% 0.112 261.7)
XYZxyz(6.6279, 5.9387, 21.5616)
Luminance0.0594 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224381 #816022
analogous
#227381 #224381 #312281
triadic
#224381 #812243 #438122
tetradic
#224381 #812273 #816022 #228131
square
#224381 #812273 #816022 #228131
split-complementary
#224381 #813122 #738122
monochromatic
#081120 #152A51 #224381 #2F5CB1 #4D7BD0

Accessibility & contrast

On white

9.60
#224381 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#224381 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #224381
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224381#FFFFFF#000000##FFFFFF
##2243811.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234A83
Deuteranopia (green-blind)
#0D4180
Tritanopia (blue-blind)
#00525B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #224381;
/* rgb */ color: rgb(34, 67, 129);
/* oklch */ color: oklch(39.4% 0.112 261.7);
Tailwind
colors: {
  custom: {
    50: '#6a76a6',
    500: '#224381',
    950: '#000000',
  },
}
SCSS
$custom: #224381;
$custom-light: #6a76a6;
$custom-dark: #000000;
JSON
{
  "hex": "#224381",
  "rgb": {
    "r": 34,
    "g": 67,
    "b": 129
  },
  "hsl": {
    "h": 219.158,
    "s": 58.282,
    "l": 31.961
  },
  "oklch": {
    "l": 0.39366,
    "c": 0.11164,
    "h": 261.7
  },
  "luminance": 0.05939
}

Semantic roles & 50–950 ramp

primary
#224381
secondary
#B38F4B
accent
#AC46E1
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #224381

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

Preview Lab → · Contrast checker → · Palette generator →

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