#031046#031046

#031046 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 21.0% C 0.102 H 265.1°. Best body text is #FFFFFF at 18.00:1 contrast (WCAG AA passes).

Color values

HEX#031046
RGBrgb(3, 16, 70)
HSLhsl(228, 92%, 14%)
HSVhsv(228, 96%, 27%)
CMYKcmyk(95.7%, 77.1%, 0%, 72.5%)
CIE-LABlab(7.52, 19.06, -35.07)
CIE-LCHlch(7.52, 39.92, 298.53°)
OKLaboklab(21.02% -0.0087 -0.1018)
OKLCHoklch(21.02% 0.102 265.1)
XYZxyz(1.3279, 0.8320, 5.8838)
Luminance0.0083 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031046 #463903
analogous
#033246 #031046 #180346
triadic
#031046 #460310 #104603
tetradic
#031046 #460332 #463903 #034618
square
#031046 #460332 #463903 #034618
split-complementary
#031046 #461803 #324603
monochromatic
#01071D #01071D #031046 #061D81 #082BBB

Accessibility & contrast

On white

18.00
#031046 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#031046 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #031046
18.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031046#FFFFFF#000000##FFFFFF
##0310461.0018.001.1718.00
#FFFFFF18.001.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A48
Deuteranopia (green-blind)
#001345
Tritanopia (blue-blind)
#001F29
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #031046;
/* rgb */ color: rgb(3, 16, 70);
/* oklch */ color: oklch(21.0% 0.102 265.1);
Tailwind
colors: {
  custom: {
    50: '#534e7a',
    500: '#031046',
    950: '#000000',
  },
}
SCSS
$custom: #031046;
$custom-light: #534e7a;
$custom-dark: #000000;
JSON
{
  "hex": "#031046",
  "rgb": {
    "r": 3,
    "g": 16,
    "b": 70
  },
  "hsl": {
    "h": 228.358,
    "s": 91.781,
    "l": 14.314
  },
  "oklch": {
    "l": 0.21015,
    "c": 0.10213,
    "h": 265.1
  },
  "luminance": 0.00832
}

Semantic roles & 50–950 ramp

primary
#031046
secondary
#87731D
accent
#D529FF
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#030109
muted
#78777B

Preview Lab

Preview with #031046

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

Preview Lab → · Contrast checker → · Palette generator →

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