#031035#031035

#031035 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 19.0% C 0.076 H 263.6°. Best body text is #FFFFFF at 18.59:1 contrast (WCAG AA passes).

Color values

HEX#031035
RGBrgb(3, 16, 53)
HSLhsl(224, 89%, 11%)
HSVhsv(224, 94%, 21%)
CMYKcmyk(94.3%, 69.8%, 0%, 79.2%)
CIE-LABlab(5.84, 10.25, -25.61)
CIE-LCHlch(5.84, 27.58, 291.81°)
OKLaboklab(19.04% -0.0085 -0.0752)
OKLCHoklch(19.04% 0.076 263.6)
XYZxyz(0.8652, 0.6469, 3.4467)
Luminance0.0065 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031035 #352803
analogous
#032935 #031035 #0F0335
triadic
#031035 #350310 #103503
tetradic
#031035 #350329 #352803 #03350F
square
#031035 #350329 #352803 #03350F
split-complementary
#031035 #350F03 #293503
monochromatic
#02091D #02091D #031035 #06216F #0A33A9

Accessibility & contrast

On white

18.59
#031035 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #031035
18.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031035#FFFFFF#000000##FFFFFF
##0310351.0018.591.1318.59
#FFFFFF18.591.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001536
Deuteranopia (green-blind)
#001134
Tritanopia (blue-blind)
#001920
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #031035;
/* rgb */ color: rgb(3, 16, 53);
/* oklch */ color: oklch(19.0% 0.076 263.6);
Tailwind
colors: {
  custom: {
    50: '#4c4e6d',
    500: '#031035',
    950: '#000000',
  },
}
SCSS
$custom: #031035;
$custom-light: #4c4e6d;
$custom-dark: #000000;
JSON
{
  "hex": "#031035",
  "rgb": {
    "r": 3,
    "g": 16,
    "b": 53
  },
  "hsl": {
    "h": 224.4,
    "s": 89.286,
    "l": 10.98
  },
  "oklch": {
    "l": 0.19042,
    "c": 0.0757,
    "h": 263.6
  },
  "luminance": 0.00647
}

Semantic roles & 50–950 ramp

primary
#031035
secondary
#78601C
accent
#C729FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010107
muted
#77777A

Preview Lab

Preview with #031035

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

Preview Lab → · Contrast checker → · Palette generator →

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