#030531#030531

#030531 is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.0% C 0.086 H 268.7°. Best body text is #FFFFFF at 19.63:1 contrast (WCAG AA passes).

Color values

HEX#030531
RGBrgb(3, 5, 49)
HSLhsl(237, 88%, 10%)
HSVhsv(237, 94%, 19%)
CMYKcmyk(93.9%, 89.8%, 0%, 80.8%)
CIE-LABlab(3.16, 12.85, -26.96)
CIE-LCHlch(3.16, 29.87, 295.49°)
OKLaboklab(15.97% -0.0019 -0.0859)
OKLCHoklch(15.97% 0.086 268.7)
XYZxyz(0.6460, 0.3496, 2.9386)
Luminance0.0035 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#030531 #312F03
analogous
#031C31 #030531 #180331
triadic
#030531 #310305 #053103
tetradic
#030531 #31031C #312F03 #033118
square
#030531 #31031C #312F03 #033118
split-complementary
#030531 #311803 #1C3103
monochromatic
#02031D #02031D #030531 #070B6B #0A11A4

Accessibility & contrast

On white

19.63
#030531 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #030531
19.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##030531#FFFFFF#000000##FFFFFF
##0305311.0019.631.0719.63
#FFFFFF19.631.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E32
Deuteranopia (green-blind)
#000930
Tritanopia (blue-blind)
#00121A
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #030531;
/* rgb */ color: rgb(3, 5, 49);
/* oklch */ color: oklch(16.0% 0.086 268.7);
Tailwind
colors: {
  custom: {
    50: '#4a4869',
    500: '#030531',
    950: '#000000',
  },
}
SCSS
$custom: #030531;
$custom-light: #4a4869;
$custom-dark: #000000;
JSON
{
  "hex": "#030531",
  "rgb": {
    "r": 3,
    "g": 5,
    "b": 49
  },
  "hsl": {
    "h": 237.391,
    "s": 88.462,
    "l": 10.196
  },
  "oklch": {
    "l": 0.15971,
    "c": 0.0859,
    "h": 268.7
  },
  "luminance": 0.0035
}

Semantic roles & 50–950 ramp

primary
#030531
secondary
#74711B
accent
#F529FF
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#010006
muted
#77777A

Preview Lab

Preview with #030531

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

Preview Lab → · Contrast checker → · Palette generator →

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