#070F3C#070F3C

#070F3C is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.9% C 0.087 H 268.6°. Best body text is #FFFFFF at 18.38:1 contrast (WCAG AA passes).

Color values

HEX#070F3C
RGBrgb(7, 15, 60)
HSLhsl(231, 79%, 13%)
HSVhsv(231, 88%, 24%)
CMYKcmyk(88.3%, 75%, 0%, 76.5%)
CIE-LABlab(6.44, 15.47, -29.71)
CIE-LCHlch(6.44, 33.50, 297.51°)
OKLaboklab(19.88% -0.0021 -0.0865)
OKLCHoklch(19.88% 0.087 268.6)
XYZxyz(1.0738, 0.7129, 4.3551)
Luminance0.0071 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070F3C #3C3407
analogous
#07293C #070F3C #19073C
triadic
#070F3C #3C070F #0F3C07
tetradic
#070F3C #3C0729 #3C3407 #073C19
square
#070F3C #3C0729 #3C3407 #073C19
split-complementary
#070F3C #3C1907 #293C07
monochromatic
#03071B #03071B #070F3C #0D1D73 #142AAA

Accessibility & contrast

On white

18.38
#070F3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#070F3C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #070F3C
18.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070F3C#FFFFFF#000000##FFFFFF
##070F3C1.0018.381.1418.38
#FFFFFF18.381.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00173D
Deuteranopia (green-blind)
#00123B
Tritanopia (blue-blind)
#001B23
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #070f3c;
/* rgb */ color: rgb(7, 15, 60);
/* oklch */ color: oklch(19.9% 0.087 268.6);
Tailwind
colors: {
  custom: {
    50: '#514d72',
    500: '#070f3c',
    950: '#000000',
  },
}
SCSS
$custom: #070f3c;
$custom-light: #514d72;
$custom-dark: #000000;
JSON
{
  "hex": "#070f3c",
  "rgb": {
    "r": 7,
    "g": 15,
    "b": 60
  },
  "hsl": {
    "h": 230.943,
    "s": 79.104,
    "l": 13.137
  },
  "oklch": {
    "l": 0.19878,
    "c": 0.08656,
    "h": 268.6
  },
  "luminance": 0.00713
}

Semantic roles & 50–950 ramp

primary
#070F3C
secondary
#7B6E23
accent
#D832F6
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020108
muted
#78777B

Preview Lab

Preview with #070F3C

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

Preview Lab → · Contrast checker → · Palette generator →

#070F3C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva