#224F95#224F95

#224F95 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.6% C 0.125 H 259.1°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#224F95
RGBrgb(34, 79, 149)
HSLhsl(217, 63%, 36%)
HSVhsv(217, 77%, 58%)
CMYKcmyk(77.2%, 47%, 0%, 41.6%)
CIE-LABlab(34.19, 10.52, -42.91)
CIE-LCHlch(34.19, 44.18, 283.78°)
OKLaboklab(43.59% -0.0237 -0.1231)
OKLCHoklch(43.59% 0.125 259.1)
XYZxyz(8.8785, 8.1010, 29.5237)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224F95 #956822
analogous
#228895 #224F95 #2E2295
triadic
#224F95 #95224F #4F9522
tetradic
#224F95 #952288 #956822 #22952E
square
#224F95 #952288 #956822 #22952E
split-complementary
#224F95 #952E22 #889522
monochromatic
#0B1A31 #173563 #224F95 #2D69C7 #588BD9

Accessibility & contrast

On white

8.01
#224F95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#224F95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #224F95
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224F95#FFFFFF#000000##FFFFFF
##224F951.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5698
Deuteranopia (green-blind)
#0F4B94
Tritanopia (blue-blind)
#00606A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #224f95;
/* rgb */ color: rgb(34, 79, 149);
/* oklch */ color: oklch(43.6% 0.125 259.1);
Tailwind
colors: {
  custom: {
    50: '#6e7fb5',
    500: '#224f95',
    950: '#000000',
  },
}
SCSS
$custom: #224f95;
$custom-light: #6e7fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#224f95",
  "rgb": {
    "r": 34,
    "g": 79,
    "b": 149
  },
  "hsl": {
    "h": 216.522,
    "s": 62.842,
    "l": 35.882
  },
  "oklch": {
    "l": 0.43593,
    "c": 0.12534,
    "h": 259.1
  },
  "luminance": 0.08102
}

Semantic roles & 50–950 ramp

primary
#224F95
secondary
#BD9556
accent
#A642E6
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #224F95

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

Preview Lab → · Contrast checker → · Palette generator →

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