#030631#030631

#030631 is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.2% C 0.084 H 268.4°. Best body text is #FFFFFF at 19.55:1 contrast (WCAG AA passes).

Color values

HEX#030631
RGBrgb(3, 6, 49)
HSLhsl(236, 88%, 10%)
HSVhsv(236, 94%, 19%)
CMYKcmyk(93.9%, 87.8%, 0%, 80.8%)
CIE-LABlab(3.35, 12.45, -26.65)
CIE-LCHlch(3.35, 29.41, 295.05°)
OKLaboklab(16.23% -0.0024 -0.0842)
OKLCHoklch(16.23% 0.084 268.4)
XYZxyz(0.6569, 0.3713, 2.9422)
Luminance0.0037 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#030631 #312E03
analogous
#031D31 #030631 #170331
triadic
#030631 #310306 #063103
tetradic
#030631 #31031D #312E03 #033117
square
#030631 #31031D #312E03 #033117
split-complementary
#030631 #311703 #1D3103
monochromatic
#02041D #02041D #030631 #070D6B #0A14A4

Accessibility & contrast

On white

19.55
#030631 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #030631
19.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##030631#FFFFFF#000000##FFFFFF
##0306311.0019.551.0719.55
#FFFFFF19.551.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F32
Deuteranopia (green-blind)
#000A30
Tritanopia (blue-blind)
#00121A
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #030631;
/* rgb */ color: rgb(3, 6, 49);
/* oklch */ color: oklch(16.2% 0.084 268.4);
Tailwind
colors: {
  custom: {
    50: '#4a4969',
    500: '#030631',
    950: '#000000',
  },
}
SCSS
$custom: #030631;
$custom-light: #4a4969;
$custom-dark: #000000;
JSON
{
  "hex": "#030631",
  "rgb": {
    "r": 3,
    "g": 6,
    "b": 49
  },
  "hsl": {
    "h": 236.087,
    "s": 88.462,
    "l": 10.196
  },
  "oklch": {
    "l": 0.16225,
    "c": 0.08421,
    "h": 268.4
  },
  "luminance": 0.00371
}

Semantic roles & 50–950 ramp

primary
#030631
secondary
#746F1B
accent
#F129FF
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#010006
muted
#77777A

Preview Lab

Preview with #030631

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

Preview Lab → · Contrast checker → · Palette generator →

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