#224295#224295

#224295 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.7% C 0.142 H 264.8°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#224295
RGBrgb(34, 66, 149)
HSLhsl(223, 63%, 36%)
HSVhsv(223, 77%, 58%)
CMYKcmyk(77.2%, 55.7%, 0%, 41.6%)
CIE-LABlab(30.41, 19.35, -49.01)
CIE-LCHlch(30.41, 52.69, 291.54°)
OKLaboklab(40.71% -0.0128 -0.1413)
OKLCHoklch(40.71% 0.142 264.8)
XYZxyz(8.0308, 6.4055, 29.2411)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224295 #957522
analogous
#227B95 #224295 #3B2295
triadic
#224295 #952242 #429522
tetradic
#224295 #95227B #957522 #22953B
square
#224295 #95227B #957522 #22953B
split-complementary
#224295 #953B22 #7B9522
monochromatic
#0B1631 #172C63 #224295 #2D58C7 #587CD9

Accessibility & contrast

On white

9.21
#224295 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#224295 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #224295
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224295#FFFFFF#000000##FFFFFF
##2242951.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D98
Deuteranopia (green-blind)
#004393
Tritanopia (blue-blind)
#005665
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #224295;
/* rgb */ color: rgb(34, 66, 149);
/* oklch */ color: oklch(40.7% 0.142 264.8);
Tailwind
colors: {
  custom: {
    50: '#6f75b5',
    500: '#224295',
    950: '#000000',
  },
}
SCSS
$custom: #224295;
$custom-light: #6f75b5;
$custom-dark: #000000;
JSON
{
  "hex": "#224295",
  "rgb": {
    "r": 34,
    "g": 66,
    "b": 149
  },
  "hsl": {
    "h": 223.304,
    "s": 62.842,
    "l": 35.882
  },
  "oklch": {
    "l": 0.40708,
    "c": 0.14185,
    "h": 264.8
  },
  "luminance": 0.06406
}

Semantic roles & 50–950 ramp

primary
#224295
secondary
#BDA056
accent
#B842E6
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #224295

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

Preview Lab → · Contrast checker → · Palette generator →

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