#070F30#070F30

#070F30 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.6% C 0.067 H 268.4°. Best body text is #FFFFFF at 18.75:1 contrast (WCAG AA passes).

Color values

HEX#070F30
RGBrgb(7, 15, 48)
HSLhsl(228, 75%, 11%)
HSVhsv(228, 85%, 19%)
CMYKcmyk(85.4%, 68.7%, 0%, 81.2%)
CIE-LABlab(5.42, 9.07, -22.59)
CIE-LCHlch(5.42, 24.34, 291.88°)
OKLaboklab(18.57% -0.0019 -0.0668)
OKLCHoklch(18.57% 0.067 268.4)
XYZxyz(0.7918, 0.6001, 2.8698)
Luminance0.0060 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070F30 #302807
analogous
#072330 #070F30 #130730
triadic
#070F30 #30070F #0F3007
tetradic
#070F30 #300723 #302807 #073013
square
#070F30 #300723 #302807 #073013
split-complementary
#070F30 #301307 #233007
monochromatic
#04081B #04081B #070F30 #0F2065 #17309B

Accessibility & contrast

On white

18.75
#070F30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #070F30
18.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070F30#FFFFFF#000000##FFFFFF
##070F301.0018.751.1218.75
#FFFFFF18.751.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001431
Deuteranopia (green-blind)
#00102F
Tritanopia (blue-blind)
#00171D
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #070f30;
/* rgb */ color: rgb(7, 15, 48);
/* oklch */ color: oklch(18.6% 0.067 268.4);
Tailwind
colors: {
  custom: {
    50: '#4c4d68',
    500: '#070f30',
    950: '#000000',
  },
}
SCSS
$custom: #070f30;
$custom-light: #4c4d68;
$custom-dark: #000000;
JSON
{
  "hex": "#070f30",
  "rgb": {
    "r": 7,
    "g": 15,
    "b": 48
  },
  "hsl": {
    "h": 228.293,
    "s": 74.545,
    "l": 10.784
  },
  "oklch": {
    "l": 0.18569,
    "c": 0.06683,
    "h": 268.4
  },
  "luminance": 0.006
}

Semantic roles & 50–950 ramp

primary
#070F30
secondary
#706123
accent
#CD37F1
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #070F30

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

Preview Lab → · Contrast checker → · Palette generator →

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