#07214E#07214E

#07214E is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.0% C 0.089 H 260.5°. Best body text is #FFFFFF at 15.71:1 contrast (WCAG AA passes).

Color values

HEX#07214E
RGBrgb(7, 33, 78)
HSLhsl(218, 84%, 17%)
HSVhsv(218, 91%, 31%)
CMYKcmyk(91%, 57.7%, 0%, 69.4%)
CIE-LABlab(13.73, 10.05, -30.46)
CIE-LCHlch(13.73, 32.08, 288.26°)
OKLaboklab(25.96% -0.0147 -0.0878)
OKLCHoklch(25.96% 0.089 260.5)
XYZxyz(2.0061, 1.6827, 7.4253)
Luminance0.0168 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#07214E #4E3407
analogous
#07454E #07214E #11074E
triadic
#07214E #4E0721 #214E07
tetradic
#07214E #4E0745 #4E3407 #074E11
square
#07214E #4E0745 #4E3407 #074E11
split-complementary
#07214E #4E1107 #454E07
monochromatic
#030C1C #030C1C #07214E #0C3986 #1151BE

Accessibility & contrast

On white

15.71
#07214E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#07214E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #07214E
15.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##07214E#FFFFFF#000000##FFFFFF
##07214E1.0015.711.3415.71
#FFFFFF15.711.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#022650
Deuteranopia (green-blind)
#00204D
Tritanopia (blue-blind)
#002C33
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #07214e;
/* rgb */ color: rgb(7, 33, 78);
/* oklch */ color: oklch(26.0% 0.089 260.5);
Tailwind
colors: {
  custom: {
    50: '#555b80',
    500: '#07214e',
    950: '#000000',
  },
}
SCSS
$custom: #07214e;
$custom-light: #555b80;
$custom-dark: #000000;
JSON
{
  "hex": "#07214e",
  "rgb": {
    "r": 7,
    "g": 33,
    "b": 78
  },
  "hsl": {
    "h": 218.028,
    "s": 83.529,
    "l": 16.667
  },
  "oklch": {
    "l": 0.25961,
    "c": 0.08905,
    "h": 260.5
  },
  "luminance": 0.01683
}

Semantic roles & 50–950 ramp

primary
#07214E
secondary
#8C6625
accent
#AF2EFA
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#03040A
muted
#78797C

Preview Lab

Preview with #07214E

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

Preview Lab → · Contrast checker → · Palette generator →

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