#07113B#07113B

#07113B is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.2% C 0.082 H 267.6°. Best body text is #FFFFFF at 18.22:1 contrast (WCAG AA passes).

Color values

HEX#07113B
RGBrgb(7, 17, 59)
HSLhsl(228, 79%, 13%)
HSVhsv(228, 88%, 23%)
CMYKcmyk(88.1%, 71.2%, 0%, 76.9%)
CIE-LABlab(6.88, 13.69, -28.27)
CIE-LCHlch(6.88, 31.41, 295.84°)
OKLaboklab(20.21% -0.0035 -0.082)
OKLCHoklch(20.21% 0.082 267.6)
XYZxyz(1.0772, 0.7617, 4.2271)
Luminance0.0076 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#07113B #3B3107
analogous
#072B3B #07113B #17073B
triadic
#07113B #3B0711 #113B07
tetradic
#07113B #3B072B #3B3107 #073B17
square
#07113B #3B072B #3B3107 #073B17
split-complementary
#07113B #3B1707 #2B3B07
monochromatic
#03081B #03081B #07113B #0D2172 #1431A8

Accessibility & contrast

On white

18.22
#07113B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#07113B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #07113B
18.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##07113B#FFFFFF#000000##FFFFFF
##07113B1.0018.221.1518.22
#FFFFFF18.221.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183C
Deuteranopia (green-blind)
#00133A
Tritanopia (blue-blind)
#001C23
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #07113b;
/* rgb */ color: rgb(7, 17, 59);
/* oklch */ color: oklch(20.2% 0.082 267.6);
Tailwind
colors: {
  custom: {
    50: '#504e71',
    500: '#07113b',
    950: '#000000',
  },
}
SCSS
$custom: #07113b;
$custom-light: #504e71;
$custom-dark: #000000;
JSON
{
  "hex": "#07113b",
  "rgb": {
    "r": 7,
    "g": 17,
    "b": 59
  },
  "hsl": {
    "h": 228.462,
    "s": 78.788,
    "l": 12.941
  },
  "oklch": {
    "l": 0.20212,
    "c": 0.08209,
    "h": 267.6
  },
  "luminance": 0.00762
}

Semantic roles & 50–950 ramp

primary
#07113B
secondary
#7A6A23
accent
#D033F5
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020108
muted
#78777B

Preview Lab

Preview with #07113B

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

Preview Lab → · Contrast checker → · Palette generator →

#07113B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva