#224298#224298

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

Color values

HEX#224298
RGBrgb(34, 66, 152)
HSLhsl(224, 63%, 36%)
HSVhsv(224, 78%, 60%)
CMYKcmyk(77.6%, 56.6%, 0%, 40.4%)
CIE-LABlab(30.65, 20.53, -50.46)
CIE-LCHlch(30.65, 54.48, 292.14°)
OKLaboklab(40.96% -0.0126 -0.1455)
OKLCHoklch(40.96% 0.146 265)
XYZxyz(8.2734, 6.5026, 30.5188)
Luminance0.0650 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224298 #987822
analogous
#227D98 #224298 #3D2298
triadic
#224298 #982242 #429822
tetradic
#224298 #98227D #987822 #22983D
square
#224298 #98227D #987822 #22983D
split-complementary
#224298 #983D22 #7D9822
monochromatic
#0C1734 #172C66 #224298 #2D58CA #5A7DDA

Accessibility & contrast

On white

9.13
#224298 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#224298 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #224298
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224298#FFFFFF#000000##FFFFFF
##2242981.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #224298;
/* rgb */ color: rgb(34, 66, 152);
/* oklch */ color: oklch(41.0% 0.146 265.0);
Tailwind
colors: {
  custom: {
    50: '#7075b7',
    500: '#224298',
    950: '#000000',
  },
}
SCSS
$custom: #224298;
$custom-light: #7075b7;
$custom-dark: #000000;
JSON
{
  "hex": "#224298",
  "rgb": {
    "r": 34,
    "g": 66,
    "b": 152
  },
  "hsl": {
    "h": 223.729,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.40958,
    "c": 0.14609,
    "h": 265
  },
  "luminance": 0.06504
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #224298

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

Preview Lab → · Contrast checker → · Palette generator →

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