#070231#070231

#070231 is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 15.6% C 0.089 H 275.9°. Best body text is #FFFFFF at 19.77:1 contrast (WCAG AA passes).

Color values

HEX#070231
RGBrgb(7, 2, 49)
HSLhsl(246, 92%, 10%)
HSVhsv(246, 96%, 19%)
CMYKcmyk(85.7%, 95.9%, 0%, 80.8%)
CIE-LABlab(2.80, 15.10, -27.51)
CIE-LCHlch(2.80, 31.38, 298.75°)
OKLaboklab(15.62% 0.0092 -0.0889)
OKLCHoklch(15.62% 0.089 275.9)
XYZxyz(0.6635, 0.3103, 2.9301)
Luminance0.0031 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070231 #2C3102
analogous
#021431 #070231 #1F0231
triadic
#070231 #310702 #023107
tetradic
#070231 #310214 #2C3102 #02311F
square
#070231 #310214 #2C3102 #02311F
split-complementary
#070231 #311F02 #143102
monochromatic
#04011D #04011D #070231 #0F046C #1807A7

Accessibility & contrast

On white

19.77
#070231 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.06
#070231 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #070231
19.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070231#FFFFFF#000000##FFFFFF
##0702311.0019.771.0619.77
#FFFFFF19.771.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000C32
Deuteranopia (green-blind)
#000830
Tritanopia (blue-blind)
#000F19
Achromatopsia (no color)
#0A0A0A

Design tokens & code

CSS
--color: #070231;
/* rgb */ color: rgb(7, 2, 49);
/* oklch */ color: oklch(15.6% 0.089 275.9);
Tailwind
colors: {
  custom: {
    50: '#4c4769',
    500: '#070231',
    950: '#000000',
  },
}
SCSS
$custom: #070231;
$custom-light: #4c4769;
$custom-dark: #000000;
JSON
{
  "hex": "#070231",
  "rgb": {
    "r": 7,
    "g": 2,
    "b": 49
  },
  "hsl": {
    "h": 246.383,
    "s": 92.157,
    "l": 10
  },
  "oklch": {
    "l": 0.15615,
    "c": 0.08936,
    "h": 275.9
  },
  "luminance": 0.0031
}

Semantic roles & 50–950 ramp

primary
#070231
secondary
#6C7519
accent
#FF29E8
background
#F4F3F6
surface
#E7E5EB
border
#C3C1C6
text
#010006
muted
#77777A

Preview Lab

Preview with #070231

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

Preview Lab → · Contrast checker → · Palette generator →

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