#031125#031125

#031125 is a very dark, muted blue. Relative luminance 0.006; OKLCH L 17.8% C 0.047 H 255.3°. Best body text is #FFFFFF at 18.91:1 contrast (WCAG AA passes).

Color values

HEX#031125
RGBrgb(3, 17, 37)
HSLhsl(215, 85%, 8%)
HSVhsv(215, 92%, 15%)
CMYKcmyk(91.9%, 54.1%, 0%, 85.5%)
CIE-LABlab(5.00, 1.86, -14.99)
CIE-LCHlch(5.00, 15.10, 277.08°)
OKLaboklab(17.75% -0.0119 -0.0452)
OKLCHoklch(17.75% 0.047 255.3)
XYZxyz(0.5718, 0.5538, 1.8267)
Luminance0.0055 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031125 #251703
analogous
#032225 #031125 #060325
triadic
#031125 #250311 #112503
tetradic
#031125 #250322 #251703 #032506
square
#031125 #250322 #251703 #032506
split-complementary
#031125 #250603 #222503
monochromatic
#020D1C #020D1C #031125 #082B5E #0C4596

Accessibility & contrast

On white

18.91
#031125 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#031125 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #031125
18.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031125#FFFFFF#000000##FFFFFF
##0311251.0018.911.1118.91
#FFFFFF18.911.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071326
Deuteranopia (green-blind)
#030F25
Tritanopia (blue-blind)
#001619
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #031125;
/* rgb */ color: rgb(3, 17, 37);
/* oklch */ color: oklch(17.8% 0.047 255.3);
Tailwind
colors: {
  custom: {
    50: '#484f5f',
    500: '#031125',
    950: '#000000',
  },
}
SCSS
$custom: #031125;
$custom-light: #484f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#031125",
  "rgb": {
    "r": 3,
    "g": 17,
    "b": 37
  },
  "hsl": {
    "h": 215.294,
    "s": 85,
    "l": 7.843
  },
  "oklch": {
    "l": 0.17752,
    "c": 0.04678,
    "h": 255.3
  },
  "luminance": 0.00554
}

Semantic roles & 50–950 ramp

primary
#031125
secondary
#69491B
accent
#A62DFB
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000104
muted
#777779

Preview Lab

Preview with #031125

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

Preview Lab → · Contrast checker → · Palette generator →

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