#070233#070233

#070233 is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 15.9% C 0.092 H 275.3°. Best body text is #FFFFFF at 19.71:1 contrast (WCAG AA passes).

Color values

HEX#070233
RGBrgb(7, 2, 51)
HSLhsl(246, 92%, 10%)
HSVhsv(246, 96%, 20%)
CMYKcmyk(86.3%, 96.1%, 0%, 80%)
CIE-LABlab(2.96, 16.20, -28.76)
CIE-LCHlch(2.96, 33.01, 299.39°)
OKLaboklab(15.91% 0.0084 -0.0917)
OKLCHoklch(15.91% 0.092 275.3)
XYZxyz(0.7067, 0.3275, 3.1573)
Luminance0.0033 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070233 #2E3302
analogous
#021633 #070233 #1F0233
triadic
#070233 #330702 #023307
tetradic
#070233 #330216 #2E3302 #02331F
square
#070233 #330216 #2E3302 #02331F
split-complementary
#070233 #331F02 #163302
monochromatic
#04011D #04011D #070233 #0F046E #1707A9

Accessibility & contrast

On white

19.71
#070233 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #070233
19.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070233#FFFFFF#000000##FFFFFF
##0702331.0019.711.0719.71
#FFFFFF19.711.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D34
Deuteranopia (green-blind)
#000832
Tritanopia (blue-blind)
#00101A
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #070233;
/* rgb */ color: rgb(7, 2, 51);
/* oklch */ color: oklch(15.9% 0.092 275.3);
Tailwind
colors: {
  custom: {
    50: '#4d476b',
    500: '#070233',
    950: '#000000',
  },
}
SCSS
$custom: #070233;
$custom-light: #4d476b;
$custom-dark: #000000;
JSON
{
  "hex": "#070233",
  "rgb": {
    "r": 7,
    "g": 2,
    "b": 51
  },
  "hsl": {
    "h": 246.122,
    "s": 92.453,
    "l": 10.392
  },
  "oklch": {
    "l": 0.15913,
    "c": 0.09211,
    "h": 275.3
  },
  "luminance": 0.00328
}

Semantic roles & 50–950 ramp

primary
#070233
secondary
#6E771A
accent
#FF29E9
background
#F4F3F6
surface
#E7E5EB
border
#C3C1C6
text
#020007
muted
#78777A

Preview Lab

Preview with #070233

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

Preview Lab → · Contrast checker → · Palette generator →

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