#07224E#07224E

#07224E is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.2% C 0.088 H 259.8°. Best body text is #FFFFFF at 15.58:1 contrast (WCAG AA passes).

Color values

HEX#07224E
RGBrgb(7, 34, 78)
HSLhsl(217, 84%, 17%)
HSVhsv(217, 91%, 31%)
CMYKcmyk(91%, 56.4%, 0%, 69.4%)
CIE-LABlab(14.05, 9.28, -29.93)
CIE-LCHlch(14.05, 31.34, 287.23°)
OKLaboklab(26.21% -0.0155 -0.0862)
OKLCHoklch(26.21% 0.088 259.8)
XYZxyz(2.0343, 1.7390, 7.4347)
Luminance0.0174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#07224E #4E3307
analogous
#07464E #07224E #10074E
triadic
#07224E #4E0722 #224E07
tetradic
#07224E #4E0746 #4E3307 #074E10
square
#07224E #4E0746 #4E3307 #074E10
split-complementary
#07224E #4E1007 #464E07
monochromatic
#030C1C #030C1C #07224E #0C3A86 #1153BE

Accessibility & contrast

On white

15.58
#07224E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#07224E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #07224E
15.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##07224E#FFFFFF#000000##FFFFFF
##07224E1.0015.581.3515.58
#FFFFFF15.581.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#052750
Deuteranopia (green-blind)
#00214D
Tritanopia (blue-blind)
#002D34
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #07224e;
/* rgb */ color: rgb(7, 34, 78);
/* oklch */ color: oklch(26.2% 0.088 259.8);
Tailwind
colors: {
  custom: {
    50: '#555c80',
    500: '#07224e',
    950: '#000000',
  },
}
SCSS
$custom: #07224e;
$custom-light: #555c80;
$custom-dark: #000000;
JSON
{
  "hex": "#07224e",
  "rgb": {
    "r": 7,
    "g": 34,
    "b": 78
  },
  "hsl": {
    "h": 217.183,
    "s": 83.529,
    "l": 16.667
  },
  "oklch": {
    "l": 0.26212,
    "c": 0.08763,
    "h": 259.8
  },
  "luminance": 0.01739
}

Semantic roles & 50–950 ramp

primary
#07224E
secondary
#8C6525
accent
#AC2EFA
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#03040A
muted
#78797C

Preview Lab

Preview with #07224E

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

Preview Lab → · Contrast checker → · Palette generator →

#07224E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva