#070F38#070F38

#070F38 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.4% C 0.080 H 268.7°. Best body text is #FFFFFF at 18.51:1 contrast (WCAG AA passes).

Color values

HEX#070F38
RGBrgb(7, 15, 56)
HSLhsl(230, 78%, 12%)
HSVhsv(230, 88%, 22%)
CMYKcmyk(87.5%, 73.2%, 0%, 78%)
CIE-LABlab(6.07, 13.39, -27.41)
CIE-LCHlch(6.07, 30.51, 296.04°)
OKLaboklab(19.43% -0.0019 -0.0801)
OKLCHoklch(19.43% 0.08 268.7)
XYZxyz(0.9720, 0.6722, 3.8191)
Luminance0.0067 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070F38 #383007
analogous
#072838 #070F38 #180738
triadic
#070F38 #38070F #0F3807
tetradic
#070F38 #380728 #383007 #073818
square
#070F38 #380728 #383007 #073818
split-complementary
#070F38 #381807 #283807
monochromatic
#03071B #03071B #070F38 #0E1E6E #152CA5

Accessibility & contrast

On white

18.51
#070F38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#070F38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #070F38
18.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070F38#FFFFFF#000000##FFFFFF
##070F381.0018.511.1318.51
#FFFFFF18.511.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001639
Deuteranopia (green-blind)
#001137
Tritanopia (blue-blind)
#001A21
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #070f38;
/* rgb */ color: rgb(7, 15, 56);
/* oklch */ color: oklch(19.4% 0.080 268.7);
Tailwind
colors: {
  custom: {
    50: '#4f4d6f',
    500: '#070f38',
    950: '#000000',
  },
}
SCSS
$custom: #070f38;
$custom-light: #4f4d6f;
$custom-dark: #000000;
JSON
{
  "hex": "#070f38",
  "rgb": {
    "r": 7,
    "g": 15,
    "b": 56
  },
  "hsl": {
    "h": 230.204,
    "s": 77.778,
    "l": 12.353
  },
  "oklch": {
    "l": 0.19426,
    "c": 0.08017,
    "h": 268.7
  },
  "luminance": 0.00672
}

Semantic roles & 50–950 ramp

primary
#070F38
secondary
#786A23
accent
#D534F4
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020107
muted
#78777A

Preview Lab

Preview with #070F38

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

Preview Lab → · Contrast checker → · Palette generator →

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