#031233#031233

#031233 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.3% C 0.069 H 261.6°. Best body text is #FFFFFF at 18.45:1 contrast (WCAG AA passes).

Color values

HEX#031233
RGBrgb(3, 18, 51)
HSLhsl(221, 89%, 11%)
HSVhsv(221, 94%, 20%)
CMYKcmyk(94.1%, 64.7%, 0%, 80%)
CIE-LABlab(6.24, 7.97, -23.50)
CIE-LCHlch(6.24, 24.81, 288.73°)
OKLaboklab(19.34% -0.0102 -0.0686)
OKLCHoklch(19.34% 0.069 261.6)
XYZxyz(0.8512, 0.6909, 3.2198)
Luminance0.0069 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031233 #332403
analogous
#032A33 #031233 #0C0333
triadic
#031233 #330312 #123303
tetradic
#031233 #33032A #332403 #03330C
square
#031233 #33032A #332403 #03330C
split-complementary
#031233 #330C03 #2A3303
monochromatic
#020A1D #020A1D #031233 #06266D #0A3BA7

Accessibility & contrast

On white

18.45
#031233 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#031233 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #031233
18.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031233#FFFFFF#000000##FFFFFF
##0312331.0018.451.1418.45
#FFFFFF18.451.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001634
Deuteranopia (green-blind)
#001232
Tritanopia (blue-blind)
#001A20
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #031233;
/* rgb */ color: rgb(3, 18, 51);
/* oklch */ color: oklch(19.3% 0.069 261.6);
Tailwind
colors: {
  custom: {
    50: '#4c4f6b',
    500: '#031233',
    950: '#000000',
  },
}
SCSS
$custom: #031233;
$custom-light: #4c4f6b;
$custom-dark: #000000;
JSON
{
  "hex": "#031233",
  "rgb": {
    "r": 3,
    "g": 18,
    "b": 51
  },
  "hsl": {
    "h": 221.25,
    "s": 88.889,
    "l": 10.588
  },
  "oklch": {
    "l": 0.19342,
    "c": 0.06932,
    "h": 261.6
  },
  "luminance": 0.00691
}

Semantic roles & 50–950 ramp

primary
#031233
secondary
#765A1C
accent
#BC29FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A

Preview Lab

Preview with #031233

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

Preview Lab → · Contrast checker → · Palette generator →

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