#224679#224679

#224679 is a dark, moderate blue. Relative luminance 0.061; OKLCH L 39.5% C 0.096 H 257.5°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#224679
RGBrgb(34, 70, 121)
HSLhsl(215, 56%, 30%)
HSVhsv(215, 72%, 47%)
CMYKcmyk(71.9%, 42.1%, 0%, 52.5%)
CIE-LABlab(29.66, 5.52, -32.90)
CIE-LCHlch(29.66, 33.36, 279.53°)
OKLaboklab(39.51% -0.0209 -0.0938)
OKLCHoklch(39.51% 0.096 257.5)
XYZxyz(6.2998, 6.1002, 18.9309)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224679 #795522
analogous
#227179 #224679 #292279
triadic
#224679 #792246 #467922
tetradic
#224679 #792271 #795522 #227929
square
#224679 #792271 #795522 #227929
split-complementary
#224679 #792922 #717922
monochromatic
#070F19 #152A49 #224679 #2F62A9 #497FCC

Accessibility & contrast

On white

9.46
#224679 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#224679 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #224679
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224679#FFFFFF#000000##FFFFFF
##2246791.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4A7B
Deuteranopia (green-blind)
#214278
Tritanopia (blue-blind)
#005259
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #224679;
/* rgb */ color: rgb(34, 70, 121);
/* oklch */ color: oklch(39.5% 0.096 257.5);
Tailwind
colors: {
  custom: {
    50: '#6879a0',
    500: '#224679',
    950: '#000000',
  },
}
SCSS
$custom: #224679;
$custom-light: #6879a0;
$custom-dark: #000000;
JSON
{
  "hex": "#224679",
  "rgb": {
    "r": 34,
    "g": 70,
    "b": 121
  },
  "hsl": {
    "h": 215.172,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.39514,
    "c": 0.09611,
    "h": 257.5
  },
  "luminance": 0.06101
}

Semantic roles & 50–950 ramp

primary
#224679
secondary
#AC844B
accent
#A148DF
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #224679

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

Preview Lab → · Contrast checker → · Palette generator →

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