#070F3B#070F3B

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

Color values

HEX#070F3B
RGBrgb(7, 15, 59)
HSLhsl(231, 79%, 13%)
HSVhsv(231, 88%, 23%)
CMYKcmyk(88.1%, 74.6%, 0%, 76.9%)
CIE-LABlab(6.35, 14.96, -29.14)
CIE-LCHlch(6.35, 32.75, 297.17°)
OKLaboklab(19.76% -0.002 -0.085)
OKLCHoklch(19.76% 0.085 268.6)
XYZxyz(1.0476, 0.7025, 4.2172)
Luminance0.0070 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070F3B #3B3307
analogous
#07293B #070F3B #19073B
triadic
#070F3B #3B070F #0F3B07
tetradic
#070F3B #3B0729 #3B3307 #073B19
square
#070F3B #3B0729 #3B3307 #073B19
split-complementary
#070F3B #3B1907 #293B07
monochromatic
#03071B #03071B #070F3B #0D1D72 #142BA8

Accessibility & contrast

On white

18.41
#070F3B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #070F3B
18.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070F3B#FFFFFF#000000##FFFFFF
##070F3B1.0018.411.1418.41
#FFFFFF18.411.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #070f3b;
/* rgb */ color: rgb(7, 15, 59);
/* oklch */ color: oklch(19.8% 0.085 268.6);
Tailwind
colors: {
  custom: {
    50: '#504d71',
    500: '#070f3b',
    950: '#000000',
  },
}
SCSS
$custom: #070f3b;
$custom-light: #504d71;
$custom-dark: #000000;
JSON
{
  "hex": "#070f3b",
  "rgb": {
    "r": 7,
    "g": 15,
    "b": 59
  },
  "hsl": {
    "h": 230.769,
    "s": 78.788,
    "l": 12.941
  },
  "oklch": {
    "l": 0.19763,
    "c": 0.08498,
    "h": 268.6
  },
  "luminance": 0.00703
}

Semantic roles & 50–950 ramp

primary
#070F3B
secondary
#7A6D23
accent
#D733F5
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020108
muted
#78777B

Preview Lab

Preview with #070F3B

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

Preview Lab → · Contrast checker → · Palette generator →

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