#224398#224398

#224398 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.2% C 0.145 H 264.7°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#224398
RGBrgb(34, 67, 152)
HSLhsl(223, 63%, 36%)
HSVhsv(223, 78%, 60%)
CMYKcmyk(77.6%, 55.9%, 0%, 40.4%)
CIE-LABlab(30.93, 19.84, -50.01)
CIE-LCHlch(30.93, 53.80, 291.64°)
OKLaboklab(41.17% -0.0134 -0.1442)
OKLCHoklch(41.17% 0.145 264.7)
XYZxyz(8.3323, 6.6205, 30.5384)
Luminance0.0662 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224398 #987722
analogous
#227E98 #224398 #3C2298
triadic
#224398 #982243 #439822
tetradic
#224398 #98227E #987722 #22983C
square
#224398 #98227E #987722 #22983C
split-complementary
#224398 #983C22 #7E9822
monochromatic
#0C1734 #172D66 #224398 #2D59CA #5A7EDA

Accessibility & contrast

On white

9.04
#224398 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#224398 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #224398
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224398#FFFFFF#000000##FFFFFF
##2243981.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9B
Deuteranopia (green-blind)
#004496
Tritanopia (blue-blind)
#005867
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #224398;
/* rgb */ color: rgb(34, 67, 152);
/* oklch */ color: oklch(41.2% 0.145 264.7);
Tailwind
colors: {
  custom: {
    50: '#7076b7',
    500: '#224398',
    950: '#000000',
  },
}
SCSS
$custom: #224398;
$custom-light: #7076b7;
$custom-dark: #000000;
JSON
{
  "hex": "#224398",
  "rgb": {
    "r": 34,
    "g": 67,
    "b": 152
  },
  "hsl": {
    "h": 223.22,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.41169,
    "c": 0.1448,
    "h": 264.7
  },
  "luminance": 0.06621
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #224398

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

Preview Lab → · Contrast checker → · Palette generator →

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