#224297#224297

#224297 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 40.9% C 0.145 H 265.0°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#224297
RGBrgb(34, 66, 151)
HSLhsl(224, 63%, 36%)
HSVhsv(224, 77%, 59%)
CMYKcmyk(77.5%, 56.3%, 0%, 40.8%)
CIE-LABlab(30.57, 20.13, -49.98)
CIE-LCHlch(30.57, 53.88, 291.94°)
OKLaboklab(40.87% -0.0127 -0.1441)
OKLCHoklch(40.87% 0.145 265)
XYZxyz(8.1918, 6.4700, 30.0892)
Luminance0.0647 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224297 #977722
analogous
#227D97 #224297 #3D2297
triadic
#224297 #972242 #429722
tetradic
#224297 #97227D #977722 #22973D
square
#224297 #97227D #977722 #22973D
split-complementary
#224297 #973D22 #7D9722
monochromatic
#0C1633 #172C65 #224297 #2D58C9 #5A7DDA

Accessibility & contrast

On white

9.15
#224297 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#224297 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #224297
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224297#FFFFFF#000000##FFFFFF
##2242971.009.152.299.15
#FFFFFF9.151.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #224297;
/* rgb */ color: rgb(34, 66, 151);
/* oklch */ color: oklch(40.9% 0.145 265.0);
Tailwind
colors: {
  custom: {
    50: '#6f75b6',
    500: '#224297',
    950: '#000000',
  },
}
SCSS
$custom: #224297;
$custom-light: #6f75b6;
$custom-dark: #000000;
JSON
{
  "hex": "#224297",
  "rgb": {
    "r": 34,
    "g": 66,
    "b": 151
  },
  "hsl": {
    "h": 223.59,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.40874,
    "c": 0.14468,
    "h": 265
  },
  "luminance": 0.06471
}

Semantic roles & 50–950 ramp

primary
#224297
secondary
#BEA257
accent
#B942E6
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #224297

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

Preview Lab → · Contrast checker → · Palette generator →

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