#07113D#07113D

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

Color values

HEX#07113D
RGBrgb(7, 17, 61)
HSLhsl(229, 79%, 13%)
HSVhsv(229, 89%, 24%)
CMYKcmyk(88.5%, 72.1%, 0%, 76.1%)
CIE-LABlab(7.07, 14.67, -29.40)
CIE-LCHlch(7.07, 32.86, 296.52°)
OKLaboklab(20.43% -0.0035 -0.0852)
OKLCHoklch(20.43% 0.085 267.6)
XYZxyz(1.1301, 0.7829, 4.5055)
Luminance0.0078 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#07113D #3D3307
analogous
#072C3D #07113D #18073D
triadic
#07113D #3D0711 #113D07
tetradic
#07113D #3D072C #3D3307 #073D18
square
#07113D #3D072C #3D3307 #073D18
split-complementary
#07113D #3D1807 #2C3D07
monochromatic
#03081B #03081B #07113D #0D2074 #1430AB

Accessibility & contrast

On white

18.16
#07113D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#07113D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #07113D
18.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##07113D#FFFFFF#000000##FFFFFF
##07113D1.0018.161.1618.16
#FFFFFF18.161.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183E
Deuteranopia (green-blind)
#00133C
Tritanopia (blue-blind)
#001C24
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #07113d;
/* rgb */ color: rgb(7, 17, 61);
/* oklch */ color: oklch(20.4% 0.085 267.6);
Tailwind
colors: {
  custom: {
    50: '#514e73',
    500: '#07113d',
    950: '#000000',
  },
}
SCSS
$custom: #07113d;
$custom-light: #514e73;
$custom-dark: #000000;
JSON
{
  "hex": "#07113d",
  "rgb": {
    "r": 7,
    "g": 17,
    "b": 61
  },
  "hsl": {
    "h": 228.889,
    "s": 79.412,
    "l": 13.333
  },
  "oklch": {
    "l": 0.20431,
    "c": 0.0853,
    "h": 267.6
  },
  "luminance": 0.00783
}

Semantic roles & 50–950 ramp

primary
#07113D
secondary
#7C6C23
accent
#D232F6
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#020108
muted
#78777B

Preview Lab

Preview with #07113D

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

Preview Lab → · Contrast checker → · Palette generator →

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