#07113F#07113F

#07113F is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.7% C 0.088 H 267.7°. Best body text is #FFFFFF at 18.09:1 contrast (WCAG AA passes).

Color values

HEX#07113F
RGBrgb(7, 17, 63)
HSLhsl(229, 80%, 14%)
HSVhsv(229, 89%, 25%)
CMYKcmyk(88.9%, 73%, 0%, 75.3%)
CIE-LABlab(7.27, 15.64, -30.51)
CIE-LCHlch(7.27, 34.28, 297.14°)
OKLaboklab(20.65% -0.0036 -0.0884)
OKLCHoklch(20.65% 0.088 267.7)
XYZxyz(1.1850, 0.8048, 4.7946)
Luminance0.0080 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#07113F #3F3507
analogous
#072D3F #07113F #19073F
triadic
#07113F #3F0711 #113F07
tetradic
#07113F #3F072D #3F3507 #073F19
square
#07113F #3F072D #3F3507 #073F19
split-complementary
#07113F #3F1907 #2D3F07
monochromatic
#03071C #03071C #07113F #0D2076 #132FAD

Accessibility & contrast

On white

18.09
#07113F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #07113F
18.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##07113F#FFFFFF#000000##FFFFFF
##07113F1.0018.091.1618.09
#FFFFFF18.091.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001940
Deuteranopia (green-blind)
#00133E
Tritanopia (blue-blind)
#001D26
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #07113f;
/* rgb */ color: rgb(7, 17, 63);
/* oklch */ color: oklch(20.7% 0.088 267.7);
Tailwind
colors: {
  custom: {
    50: '#524e75',
    500: '#07113f',
    950: '#000000',
  },
}
SCSS
$custom: #07113f;
$custom-light: #524e75;
$custom-dark: #000000;
JSON
{
  "hex": "#07113f",
  "rgb": {
    "r": 7,
    "g": 17,
    "b": 63
  },
  "hsl": {
    "h": 229.286,
    "s": 80,
    "l": 13.725
  },
  "oklch": {
    "l": 0.20654,
    "c": 0.08846,
    "h": 267.7
  },
  "luminance": 0.00805
}

Semantic roles & 50–950 ramp

primary
#07113F
secondary
#7E6E24
accent
#D331F6
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #07113F

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

Preview Lab → · Contrast checker → · Palette generator →

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