#224B98#224B98

#224B98 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 42.9% C 0.135 H 261.5°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#224B98
RGBrgb(34, 75, 152)
HSLhsl(219, 63%, 36%)
HSVhsv(219, 78%, 60%)
CMYKcmyk(77.6%, 50.7%, 0%, 40.4%)
CIE-LABlab(33.22, 14.40, -46.30)
CIE-LCHlch(33.22, 48.49, 287.28°)
OKLaboklab(42.91% -0.0198 -0.1331)
OKLCHoklch(42.91% 0.135 261.5)
XYZxyz(8.8412, 7.6382, 30.7080)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224B98 #986F22
analogous
#228698 #224B98 #342298
triadic
#224B98 #98224B #4B9822
tetradic
#224B98 #982286 #986F22 #229834
square
#224B98 #982286 #986F22 #229834
split-complementary
#224B98 #983422 #869822
monochromatic
#0C1A34 #173266 #224B98 #2D64CA #5A87DA

Accessibility & contrast

On white

8.31
#224B98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#224B98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #224B98
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224B98#FFFFFF#000000##FFFFFF
##224B981.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D549B
Deuteranopia (green-blind)
#004996
Tritanopia (blue-blind)
#005D6A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #224b98;
/* rgb */ color: rgb(34, 75, 152);
/* oklch */ color: oklch(42.9% 0.135 261.5);
Tailwind
colors: {
  custom: {
    50: '#6f7cb7',
    500: '#224b98',
    950: '#000000',
  },
}
SCSS
$custom: #224b98;
$custom-light: #6f7cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#224b98",
  "rgb": {
    "r": 34,
    "g": 75,
    "b": 152
  },
  "hsl": {
    "h": 219.153,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.4291,
    "c": 0.13458,
    "h": 261.5
  },
  "luminance": 0.07639
}

Semantic roles & 50–950 ramp

primary
#224B98
secondary
#BE9B57
accent
#AD41E6
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #224B98

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

Preview Lab → · Contrast checker → · Palette generator →

#224B98 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva