#224795#224795

#224795 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 41.8% C 0.135 H 262.9°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#224795
RGBrgb(34, 71, 149)
HSLhsl(221, 63%, 36%)
HSVhsv(221, 77%, 58%)
CMYKcmyk(77.2%, 52.3%, 0%, 41.6%)
CIE-LABlab(31.84, 15.93, -46.70)
CIE-LCHlch(31.84, 49.34, 288.84°)
OKLaboklab(41.79% -0.0168 -0.1344)
OKLCHoklch(41.79% 0.135 262.9)
XYZxyz(8.3358, 7.0155, 29.3428)
Luminance0.0702 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224795 #957022
analogous
#228095 #224795 #362295
triadic
#224795 #952247 #479522
tetradic
#224795 #952280 #957022 #229536
square
#224795 #952280 #957022 #229536
split-complementary
#224795 #953622 #809522
monochromatic
#0B1831 #172F63 #224795 #2D5FC7 #5882D9

Accessibility & contrast

On white

8.74
#224795 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#224795 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #224795
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224795#FFFFFF#000000##FFFFFF
##2247951.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#145098
Deuteranopia (green-blind)
#004693
Tritanopia (blue-blind)
#005A67
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #224795;
/* rgb */ color: rgb(34, 71, 149);
/* oklch */ color: oklch(41.8% 0.135 262.9);
Tailwind
colors: {
  custom: {
    50: '#6f79b5',
    500: '#224795',
    950: '#000000',
  },
}
SCSS
$custom: #224795;
$custom-light: #6f79b5;
$custom-dark: #000000;
JSON
{
  "hex": "#224795",
  "rgb": {
    "r": 34,
    "g": 71,
    "b": 149
  },
  "hsl": {
    "h": 220.696,
    "s": 62.842,
    "l": 35.882
  },
  "oklch": {
    "l": 0.41792,
    "c": 0.13542,
    "h": 262.9
  },
  "luminance": 0.07016
}

Semantic roles & 50–950 ramp

primary
#224795
secondary
#BD9C56
accent
#B142E6
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #224795

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

Preview Lab → · Contrast checker → · Palette generator →

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