#224F9B#224F9B

#224F9B is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.0% C 0.134 H 260.2°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#224F9B
RGBrgb(34, 79, 155)
HSLhsl(218, 64%, 37%)
HSVhsv(218, 78%, 61%)
CMYKcmyk(78.1%, 49%, 0%, 39.2%)
CIE-LABlab(34.59, 12.90, -45.89)
CIE-LCHlch(34.59, 47.67, 285.69°)
OKLaboklab(44.03% -0.0227 -0.1318)
OKLCHoklch(44.03% 0.134 260.2)
XYZxyz(9.3699, 8.2975, 32.1117)
Luminance0.0830 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224F9B #9B6E22
analogous
#228C9B #224F9B #32229B
triadic
#224F9B #9B224F #4F9B22
tetradic
#224F9B #9B228C #9B6E22 #229B32
square
#224F9B #9B228C #9B6E22 #229B32
split-complementary
#224F9B #9B3222 #8C9B22
monochromatic
#0C1C37 #173569 #224F9B #2D69CD #5C8BDB

Accessibility & contrast

On white

7.90
#224F9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#224F9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #224F9B
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224F9B#FFFFFF#000000##FFFFFF
##224F9B1.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24579E
Deuteranopia (green-blind)
#004C99
Tritanopia (blue-blind)
#00616D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #224f9b;
/* rgb */ color: rgb(34, 79, 155);
/* oklch */ color: oklch(44.0% 0.134 260.2);
Tailwind
colors: {
  custom: {
    50: '#707fb9',
    500: '#224f9b',
    950: '#000000',
  },
}
SCSS
$custom: #224f9b;
$custom-light: #707fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#224f9b",
  "rgb": {
    "r": 34,
    "g": 79,
    "b": 155
  },
  "hsl": {
    "h": 217.686,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.44032,
    "c": 0.13378,
    "h": 260.2
  },
  "luminance": 0.08299
}

Semantic roles & 50–950 ramp

primary
#224F9B
secondary
#C09A59
accent
#A941E7
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #224F9B

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

Preview Lab → · Contrast checker → · Palette generator →

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