#224895#224895

#224895 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.0% C 0.134 H 262.4°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#224895
RGBrgb(34, 72, 149)
HSLhsl(220, 63%, 36%)
HSVhsv(220, 77%, 58%)
CMYKcmyk(77.2%, 51.7%, 0%, 41.6%)
CIE-LABlab(32.13, 15.25, -46.23)
CIE-LCHlch(32.13, 48.68, 288.26°)
OKLaboklab(42.01% -0.0177 -0.133)
OKLCHoklch(42.01% 0.134 262.4)
XYZxyz(8.3999, 7.1438, 29.3641)
Luminance0.0714 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224895 #956F22
analogous
#228195 #224895 #352295
triadic
#224895 #952248 #489522
tetradic
#224895 #952281 #956F22 #229535
square
#224895 #952281 #956F22 #229535
split-complementary
#224895 #953522 #819522
monochromatic
#0B1831 #173063 #224895 #2D60C7 #5883D9

Accessibility & contrast

On white

8.65
#224895 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#224895 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #224895
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224895#FFFFFF#000000##FFFFFF
##2248951.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#185198
Deuteranopia (green-blind)
#004793
Tritanopia (blue-blind)
#005B67
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #224895;
/* rgb */ color: rgb(34, 72, 149);
/* oklch */ color: oklch(42.0% 0.134 262.4);
Tailwind
colors: {
  custom: {
    50: '#6f7ab5',
    500: '#224895',
    950: '#000000',
  },
}
SCSS
$custom: #224895;
$custom-light: #6f7ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#224895",
  "rgb": {
    "r": 34,
    "g": 72,
    "b": 149
  },
  "hsl": {
    "h": 220.174,
    "s": 62.842,
    "l": 35.882
  },
  "oklch": {
    "l": 0.42013,
    "c": 0.13415,
    "h": 262.4
  },
  "luminance": 0.07145
}

Semantic roles & 50–950 ramp

primary
#224895
secondary
#BD9B56
accent
#B042E6
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #224895

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

Preview Lab → · Contrast checker → · Palette generator →

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