#070236#070236

#070236 is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.4% C 0.096 H 274.3°. Best body text is #FFFFFF at 19.61:1 contrast (WCAG AA passes).

Color values

HEX#070236
RGBrgb(7, 2, 54)
HSLhsl(246, 93%, 11%)
HSVhsv(246, 96%, 21%)
CMYKcmyk(87%, 96.3%, 0%, 78.8%)
CIE-LABlab(3.20, 17.93, -30.58)
CIE-LCHlch(3.20, 35.45, 300.39°)
OKLaboklab(16.36% 0.0072 -0.0959)
OKLCHoklch(16.36% 0.096 274.3)
XYZxyz(0.7750, 0.3548, 3.5170)
Luminance0.0036 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070236 #313602
analogous
#021736 #070236 #210236
triadic
#070236 #360702 #023607
tetradic
#070236 #360217 #313602 #023621
square
#070236 #360217 #313602 #023621
split-complementary
#070236 #362102 #173602
monochromatic
#04011E #04011E #070236 #0F0471 #1606AC

Accessibility & contrast

On white

19.61
#070236 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#070236 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #070236
19.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070236#FFFFFF#000000##FFFFFF
##0702361.0019.611.0719.61
#FFFFFF19.611.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E37
Deuteranopia (green-blind)
#000935
Tritanopia (blue-blind)
#00121C
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #070236;
/* rgb */ color: rgb(7, 2, 54);
/* oklch */ color: oklch(16.4% 0.096 274.3);
Tailwind
colors: {
  custom: {
    50: '#4e476e',
    500: '#070236',
    950: '#000000',
  },
}
SCSS
$custom: #070236;
$custom-light: #4e476e;
$custom-dark: #000000;
JSON
{
  "hex": "#070236",
  "rgb": {
    "r": 7,
    "g": 2,
    "b": 54
  },
  "hsl": {
    "h": 245.769,
    "s": 92.857,
    "l": 10.98
  },
  "oklch": {
    "l": 0.16362,
    "c": 0.09617,
    "h": 274.3
  },
  "luminance": 0.00355
}

Semantic roles & 50–950 ramp

primary
#070236
secondary
#717A1A
accent
#FF29EA
background
#F4F3F6
surface
#E7E5EC
border
#C3C1C7
text
#020007
muted
#78777A

Preview Lab

Preview with #070236

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

Preview Lab → · Contrast checker → · Palette generator →

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