#031133#031133

#031133 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.1% C 0.071 H 262.4°. Best body text is #FFFFFF at 18.55:1 contrast (WCAG AA passes).

Color values

HEX#031133
RGBrgb(3, 17, 51)
HSLhsl(223, 89%, 11%)
HSVhsv(223, 94%, 20%)
CMYKcmyk(94.1%, 66.7%, 0%, 80%)
CIE-LABlab(5.95, 8.55, -23.96)
CIE-LCHlch(5.95, 25.44, 289.64°)
OKLaboklab(19.08% -0.0094 -0.0702)
OKLCHoklch(19.08% 0.071 262.4)
XYZxyz(0.8353, 0.6592, 3.2145)
Luminance0.0066 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031133 #332503
analogous
#032933 #031133 #0D0333
triadic
#031133 #330311 #113303
tetradic
#031133 #330329 #332503 #03330D
square
#031133 #330329 #332503 #03330D
split-complementary
#031133 #330D03 #293303
monochromatic
#020A1D #020A1D #031133 #06246D #0A38A7

Accessibility & contrast

On white

18.55
#031133 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #031133
18.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031133#FFFFFF#000000##FFFFFF
##0311331.0018.551.1318.55
#FFFFFF18.551.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001634
Deuteranopia (green-blind)
#001132
Tritanopia (blue-blind)
#001A1F
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #031133;
/* rgb */ color: rgb(3, 17, 51);
/* oklch */ color: oklch(19.1% 0.071 262.4);
Tailwind
colors: {
  custom: {
    50: '#4c4e6b',
    500: '#031133',
    950: '#000000',
  },
}
SCSS
$custom: #031133;
$custom-light: #4c4e6b;
$custom-dark: #000000;
JSON
{
  "hex": "#031133",
  "rgb": {
    "r": 3,
    "g": 17,
    "b": 51
  },
  "hsl": {
    "h": 222.5,
    "s": 88.889,
    "l": 10.588
  },
  "oklch": {
    "l": 0.19083,
    "c": 0.07086,
    "h": 262.4
  },
  "luminance": 0.00659
}

Semantic roles & 50–950 ramp

primary
#031133
secondary
#765C1C
accent
#C129FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #031133

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

Preview Lab → · Contrast checker → · Palette generator →

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