#031135#031135

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

Color values

HEX#031135
RGBrgb(3, 17, 53)
HSLhsl(223, 89%, 11%)
HSVhsv(223, 94%, 21%)
CMYKcmyk(94.3%, 67.9%, 0%, 79.2%)
CIE-LABlab(6.12, 9.67, -25.17)
CIE-LCHlch(6.12, 26.96, 291.03°)
OKLaboklab(19.29% -0.0092 -0.0736)
OKLCHoklch(19.29% 0.074 262.9)
XYZxyz(0.8804, 0.6772, 3.4518)
Luminance0.0068 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031135 #352703
analogous
#032A35 #031135 #0E0335
triadic
#031135 #350311 #113503
tetradic
#031135 #35032A #352703 #03350E
square
#031135 #35032A #352703 #03350E
split-complementary
#031135 #350E03 #2A3503
monochromatic
#02091D #02091D #031135 #06246F #0A36A9

Accessibility & contrast

On white

18.50
#031135 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #031135
18.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031135#FFFFFF#000000##FFFFFF
##0311351.0018.501.1418.50
#FFFFFF18.501.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001636
Deuteranopia (green-blind)
#001134
Tritanopia (blue-blind)
#001A20
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #031135;
/* rgb */ color: rgb(3, 17, 53);
/* oklch */ color: oklch(19.3% 0.074 262.9);
Tailwind
colors: {
  custom: {
    50: '#4c4e6c',
    500: '#031135',
    950: '#000000',
  },
}
SCSS
$custom: #031135;
$custom-light: #4c4e6c;
$custom-dark: #000000;
JSON
{
  "hex": "#031135",
  "rgb": {
    "r": 3,
    "g": 17,
    "b": 53
  },
  "hsl": {
    "h": 223.2,
    "s": 89.286,
    "l": 10.98
  },
  "oklch": {
    "l": 0.19292,
    "c": 0.07417,
    "h": 262.9
  },
  "luminance": 0.00677
}

Semantic roles & 50–950 ramp

primary
#031135
secondary
#785E1C
accent
#C329FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010107
muted
#77777A

Preview Lab

Preview with #031135

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

Preview Lab → · Contrast checker → · Palette generator →

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