#07124E#07124E

#07124E is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.6% C 0.110 H 267.3°. Best body text is #FFFFFF at 17.42:1 contrast (WCAG AA passes).

Color values

HEX#07124E
RGBrgb(7, 18, 78)
HSLhsl(231, 84%, 17%)
HSVhsv(231, 91%, 31%)
CMYKcmyk(91%, 76.9%, 0%, 69.4%)
CIE-LABlab(9.22, 21.50, -37.83)
CIE-LCHlch(9.22, 43.51, 299.62°)
OKLaboklab(22.61% -0.0052 -0.1096)
OKLCHoklch(22.61% 0.11 267.3)
XYZxyz(1.6786, 1.0276, 7.3161)
Luminance0.0103 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#07124E #4E4307
analogous
#07364E #07124E #20074E
triadic
#07124E #4E0712 #124E07
tetradic
#07124E #4E0736 #4E4307 #074E20
square
#07124E #4E0736 #4E4307 #074E20
split-complementary
#07124E #4E2007 #364E07
monochromatic
#03061C #03061C #07124E #0C1F86 #112CBE

Accessibility & contrast

On white

17.42
#07124E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#07124E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #07124E
17.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##07124E#FFFFFF#000000##FFFFFF
##07124E1.0017.421.2117.42
#FFFFFF17.421.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D50
Deuteranopia (green-blind)
#00164D
Tritanopia (blue-blind)
#00232E
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #07124e;
/* rgb */ color: rgb(7, 18, 78);
/* oklch */ color: oklch(22.6% 0.110 267.3);
Tailwind
colors: {
  custom: {
    50: '#574f80',
    500: '#07124e',
    950: '#000000',
  },
}
SCSS
$custom: #07124e;
$custom-light: #574f80;
$custom-dark: #000000;
JSON
{
  "hex": "#07124e",
  "rgb": {
    "r": 7,
    "g": 18,
    "b": 78
  },
  "hsl": {
    "h": 230.704,
    "s": 83.529,
    "l": 16.667
  },
  "oklch": {
    "l": 0.22606,
    "c": 0.10976,
    "h": 267.3
  },
  "luminance": 0.01028
}

Semantic roles & 50–950 ramp

primary
#07124E
secondary
#8C7C25
accent
#DA2EFA
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #07124E

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

Preview Lab → · Contrast checker → · Palette generator →

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