#070938#070938

#070938 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 18.2% C 0.088 H 271.4°. Best body text is #FFFFFF at 19.00:1 contrast (WCAG AA passes).

Color values

HEX#070938
RGBrgb(7, 9, 56)
HSLhsl(238, 78%, 12%)
HSVhsv(238, 88%, 22%)
CMYKcmyk(87.5%, 83.9%, 0%, 78%)
CIE-LABlab(4.75, 16.29, -29.55)
CIE-LCHlch(4.75, 33.74, 298.87°)
OKLaboklab(18.18% 0.0022 -0.0884)
OKLCHoklch(18.18% 0.088 271.4)
XYZxyz(0.8989, 0.5260, 3.7948)
Luminance0.0053 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070938 #383607
analogous
#072238 #070938 #1E0738
triadic
#070938 #380709 #093807
tetradic
#070938 #380722 #383607 #07381E
square
#070938 #380722 #383607 #07381E
split-complementary
#070938 #381E07 #223807
monochromatic
#03041B #03041B #070938 #0E126E #151AA5

Accessibility & contrast

On white

19.00
#070938 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#070938 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #070938
19.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070938#FFFFFF#000000##FFFFFF
##0709381.0019.001.1119.00
#FFFFFF19.001.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF19.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001339
Deuteranopia (green-blind)
#000E37
Tritanopia (blue-blind)
#00161F
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #070938;
/* rgb */ color: rgb(7, 9, 56);
/* oklch */ color: oklch(18.2% 0.088 271.4);
Tailwind
colors: {
  custom: {
    50: '#4f4a6f',
    500: '#070938',
    950: '#000000',
  },
}
SCSS
$custom: #070938;
$custom-light: #4f4a6f;
$custom-dark: #000000;
JSON
{
  "hex": "#070938",
  "rgb": {
    "r": 7,
    "g": 9,
    "b": 56
  },
  "hsl": {
    "h": 237.551,
    "s": 77.778,
    "l": 12.353
  },
  "oklch": {
    "l": 0.18176,
    "c": 0.08845,
    "h": 271.4
  },
  "luminance": 0.00526
}

Semantic roles & 50–950 ramp

primary
#070938
secondary
#787423
accent
#EC34F4
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020107
muted
#78777A

Preview Lab

Preview with #070938

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

Preview Lab → · Contrast checker → · Palette generator →

#070938 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva