#031330#031330

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

Color values

HEX#031330
RGBrgb(3, 19, 48)
HSLhsl(219, 88%, 10%)
HSVhsv(219, 94%, 19%)
CMYKcmyk(93.8%, 60.4%, 0%, 81.2%)
CIE-LABlab(6.31, 5.73, -21.18)
CIE-LCHlch(6.31, 21.94, 285.14°)
OKLaboklab(19.32% -0.0115 -0.0617)
OKLCHoklch(19.32% 0.063 259.5)
XYZxyz(0.8037, 0.6984, 2.8882)
Luminance0.0070 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031330 #302003
analogous
#032930 #031330 #0A0330
triadic
#031330 #300313 #133003
tetradic
#031330 #300329 #302003 #03300A
square
#031330 #300329 #302003 #03300A
split-complementary
#031330 #300A03 #293003
monochromatic
#020B1D #020B1D #031330 #072A6A #0A41A3

Accessibility & contrast

On white

18.42
#031330 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #031330
18.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031330#FFFFFF#000000##FFFFFF
##0313301.0018.421.1418.42
#FFFFFF18.421.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031631
Deuteranopia (green-blind)
#00122F
Tritanopia (blue-blind)
#001A1F
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #031330;
/* rgb */ color: rgb(3, 19, 48);
/* oklch */ color: oklch(19.3% 0.063 259.5);
Tailwind
colors: {
  custom: {
    50: '#4b5068',
    500: '#031330',
    950: '#000000',
  },
}
SCSS
$custom: #031330;
$custom-light: #4b5068;
$custom-dark: #000000;
JSON
{
  "hex": "#031330",
  "rgb": {
    "r": 3,
    "g": 19,
    "b": 48
  },
  "hsl": {
    "h": 218.667,
    "s": 88.235,
    "l": 10
  },
  "oklch": {
    "l": 0.19317,
    "c": 0.06273,
    "h": 259.5
  },
  "luminance": 0.00699
}

Semantic roles & 50–950 ramp

primary
#031330
secondary
#73541B
accent
#B329FE
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A

Preview Lab

Preview with #031330

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

Preview Lab → · Contrast checker → · Palette generator →

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