#070A3C#070A3C

#070A3C is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.9% C 0.093 H 270.6°. Best body text is #FFFFFF at 18.79:1 contrast (WCAG AA passes).

Color values

HEX#070A3C
RGBrgb(7, 10, 60)
HSLhsl(237, 79%, 13%)
HSVhsv(237, 88%, 24%)
CMYKcmyk(88.3%, 83.3%, 0%, 76.5%)
CIE-LABlab(5.32, 18.10, -31.54)
CIE-LCHlch(5.32, 36.37, 299.86°)
OKLaboklab(18.88% 0.001 -0.0932)
OKLCHoklch(18.88% 0.093 270.6)
XYZxyz(1.0115, 0.5884, 4.3343)
Luminance0.0059 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070A3C #3C3907
analogous
#07243C #070A3C #1E073C
triadic
#070A3C #3C070A #0A3C07
tetradic
#070A3C #3C0724 #3C3907 #073C1E
square
#070A3C #3C0724 #3C3907 #073C1E
split-complementary
#070A3C #3C1E07 #243C07
monochromatic
#03051B #03051B #070A3C #0D1373 #141CAA

Accessibility & contrast

On white

18.79
#070A3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#070A3C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #070A3C
18.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070A3C#FFFFFF#000000##FFFFFF
##070A3C1.0018.791.1218.79
#FFFFFF18.791.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00143D
Deuteranopia (green-blind)
#000F3B
Tritanopia (blue-blind)
#001822
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #070a3c;
/* rgb */ color: rgb(7, 10, 60);
/* oklch */ color: oklch(18.9% 0.093 270.6);
Tailwind
colors: {
  custom: {
    50: '#514a72',
    500: '#070a3c',
    950: '#000000',
  },
}
SCSS
$custom: #070a3c;
$custom-light: #514a72;
$custom-dark: #000000;
JSON
{
  "hex": "#070a3c",
  "rgb": {
    "r": 7,
    "g": 10,
    "b": 60
  },
  "hsl": {
    "h": 236.604,
    "s": 79.104,
    "l": 13.137
  },
  "oklch": {
    "l": 0.18875,
    "c": 0.09319,
    "h": 270.6
  },
  "luminance": 0.00588
}

Semantic roles & 50–950 ramp

primary
#070A3C
secondary
#7B7623
accent
#EB32F6
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#020108
muted
#78777B

Preview Lab

Preview with #070A3C

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

Preview Lab → · Contrast checker → · Palette generator →

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