#07123E#07123E

#07123E is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.8% C 0.085 H 267.1°. Best body text is #FFFFFF at 18.02:1 contrast (WCAG AA passes).

Color values

HEX#07123E
RGBrgb(7, 18, 62)
HSLhsl(228, 80%, 14%)
HSVhsv(228, 89%, 24%)
CMYKcmyk(88.7%, 71%, 0%, 75.7%)
CIE-LABlab(7.46, 14.44, -29.49)
CIE-LCHlch(7.46, 32.83, 296.10°)
OKLaboklab(20.77% -0.0043 -0.0853)
OKLCHoklch(20.77% 0.085 267.1)
XYZxyz(1.1731, 0.8255, 4.6540)
Luminance0.0083 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#07123E #3E3307
analogous
#072D3E #07123E #17073E
triadic
#07123E #3E0712 #123E07
tetradic
#07123E #3E072D #3E3307 #073E17
square
#07123E #3E072D #3E3307 #073E17
split-complementary
#07123E #3E1707 #2D3E07
monochromatic
#03081B #03081B #07123E #0D2275 #1332AC

Accessibility & contrast

On white

18.02
#07123E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#07123E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #07123E
18.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##07123E#FFFFFF#000000##FFFFFF
##07123E1.0018.021.1718.02
#FFFFFF18.021.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193F
Deuteranopia (green-blind)
#00143D
Tritanopia (blue-blind)
#001D25
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #07123e;
/* rgb */ color: rgb(7, 18, 62);
/* oklch */ color: oklch(20.8% 0.085 267.1);
Tailwind
colors: {
  custom: {
    50: '#514f74',
    500: '#07123e',
    950: '#000000',
  },
}
SCSS
$custom: #07123e;
$custom-light: #514f74;
$custom-dark: #000000;
JSON
{
  "hex": "#07123e",
  "rgb": {
    "r": 7,
    "g": 18,
    "b": 62
  },
  "hsl": {
    "h": 228,
    "s": 79.71,
    "l": 13.529
  },
  "oklch": {
    "l": 0.20767,
    "c": 0.08545,
    "h": 267.1
  },
  "luminance": 0.00826
}

Semantic roles & 50–950 ramp

primary
#07123E
secondary
#7D6B24
accent
#CF32F6
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#020108
muted
#78777B

Preview Lab

Preview with #07123E

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

Preview Lab → · Contrast checker → · Palette generator →

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