#070239#070239

#070239 is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.8% C 0.100 H 273.5°. Best body text is #FFFFFF at 19.50:1 contrast (WCAG AA passes).

Color values

HEX#070239
RGBrgb(7, 2, 57)
HSLhsl(245, 93%, 12%)
HSVhsv(245, 96%, 22%)
CMYKcmyk(87.7%, 96.5%, 0%, 77.6%)
CIE-LABlab(3.47, 19.77, -32.36)
CIE-LCHlch(3.47, 37.92, 301.43°)
OKLaboklab(16.81% 0.0061 -0.1)
OKLCHoklch(16.81% 0.1 273.5)
XYZxyz(0.8476, 0.3839, 3.8995)
Luminance0.0038 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070239 #343902
analogous
#021939 #070239 #230239
triadic
#070239 #390702 #023907
tetradic
#070239 #390219 #343902 #023923
square
#070239 #390219 #343902 #023923
split-complementary
#070239 #392302 #193902
monochromatic
#04011E #04011E #070239 #0E0474 #1606AF

Accessibility & contrast

On white

19.50
#070239 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#070239 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #070239
19.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070239#FFFFFF#000000##FFFFFF
##0702391.0019.501.0819.50
#FFFFFF19.501.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F3A
Deuteranopia (green-blind)
#000A38
Tritanopia (blue-blind)
#00131E
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #070239;
/* rgb */ color: rgb(7, 2, 57);
/* oklch */ color: oklch(16.8% 0.100 273.5);
Tailwind
colors: {
  custom: {
    50: '#4f4670',
    500: '#070239',
    950: '#000000',
  },
}
SCSS
$custom: #070239;
$custom-light: #4f4670;
$custom-dark: #000000;
JSON
{
  "hex": "#070239",
  "rgb": {
    "r": 7,
    "g": 2,
    "b": 57
  },
  "hsl": {
    "h": 245.455,
    "s": 93.22,
    "l": 11.569
  },
  "oklch": {
    "l": 0.16814,
    "c": 0.1002,
    "h": 273.5
  },
  "luminance": 0.00384
}

Semantic roles & 50–950 ramp

primary
#070239
secondary
#747D1A
accent
#FF29EC
background
#F4F3F6
surface
#E7E5EC
border
#C3C1C7
text
#020007
muted
#78777A

Preview Lab

Preview with #070239

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

Preview Lab → · Contrast checker → · Palette generator →

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