#031033#031033

#031033 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.8% C 0.072 H 263.2°. Best body text is #FFFFFF at 18.65:1 contrast (WCAG AA passes).

Color values

HEX#031033
RGBrgb(3, 16, 51)
HSLhsl(224, 89%, 11%)
HSVhsv(224, 94%, 20%)
CMYKcmyk(94.1%, 68.6%, 0%, 80%)
CIE-LABlab(5.68, 9.11, -24.40)
CIE-LCHlch(5.68, 26.05, 290.48°)
OKLaboklab(18.83% -0.0086 -0.0719)
OKLCHoklch(18.83% 0.072 263.2)
XYZxyz(0.8202, 0.6289, 3.2095)
Luminance0.0063 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031033 #332603
analogous
#032833 #031033 #0E0333
triadic
#031033 #330310 #103303
tetradic
#031033 #330328 #332603 #03330E
square
#031033 #330328 #332603 #03330E
split-complementary
#031033 #330E03 #283303
monochromatic
#02091D #02091D #031033 #06226D #0A34A7

Accessibility & contrast

On white

18.65
#031033 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#031033 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #031033
18.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031033#FFFFFF#000000##FFFFFF
##0310331.0018.651.1318.65
#FFFFFF18.651.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001534
Deuteranopia (green-blind)
#001032
Tritanopia (blue-blind)
#00191F
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #031033;
/* rgb */ color: rgb(3, 16, 51);
/* oklch */ color: oklch(18.8% 0.072 263.2);
Tailwind
colors: {
  custom: {
    50: '#4b4e6b',
    500: '#031033',
    950: '#000000',
  },
}
SCSS
$custom: #031033;
$custom-light: #4b4e6b;
$custom-dark: #000000;
JSON
{
  "hex": "#031033",
  "rgb": {
    "r": 3,
    "g": 16,
    "b": 51
  },
  "hsl": {
    "h": 223.75,
    "s": 88.889,
    "l": 10.588
  },
  "oklch": {
    "l": 0.18827,
    "c": 0.07239,
    "h": 263.2
  },
  "luminance": 0.00629
}

Semantic roles & 50–950 ramp

primary
#031033
secondary
#765E1C
accent
#C529FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #031033

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

Preview Lab → · Contrast checker → · Palette generator →

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