#030331#030331

#030331 is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 15.4% C 0.089 H 269.4°. Best body text is #FFFFFF at 19.79:1 contrast (WCAG AA passes).

Color values

HEX#030331
RGBrgb(3, 3, 49)
HSLhsl(240, 88%, 10%)
HSVhsv(240, 94%, 19%)
CMYKcmyk(93.9%, 93.9%, 0%, 80.8%)
CIE-LABlab(2.77, 13.65, -27.59)
CIE-LCHlch(2.77, 30.78, 296.33°)
OKLaboklab(15.44% -0.001 -0.0895)
OKLCHoklch(15.44% 0.089 269.4)
XYZxyz(0.6243, 0.3062, 2.9313)
Luminance0.0031 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#030331 #313103
analogous
#031A31 #030331 #1A0331
triadic
#030331 #310303 #033103
tetradic
#030331 #31031A #313103 #03311A
square
#030331 #31031A #313103 #03311A
split-complementary
#030331 #311A03 #1A3103
monochromatic
#02021D #02021D #030331 #07076B #0A0AA4

Accessibility & contrast

On white

19.79
#030331 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.06
#030331 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #030331
19.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##030331#FFFFFF#000000##FFFFFF
##0303311.0019.791.0619.79
#FFFFFF19.791.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D32
Deuteranopia (green-blind)
#000830
Tritanopia (blue-blind)
#001019
Achromatopsia (no color)
#0A0A0A

Design tokens & code

CSS
--color: #030331;
/* rgb */ color: rgb(3, 3, 49);
/* oklch */ color: oklch(15.4% 0.089 269.4);
Tailwind
colors: {
  custom: {
    50: '#4a4869',
    500: '#030331',
    950: '#000000',
  },
}
SCSS
$custom: #030331;
$custom-light: #4a4869;
$custom-dark: #000000;
JSON
{
  "hex": "#030331",
  "rgb": {
    "r": 3,
    "g": 3,
    "b": 49
  },
  "hsl": {
    "h": 240,
    "s": 88.462,
    "l": 10.196
  },
  "oklch": {
    "l": 0.15438,
    "c": 0.08947,
    "h": 269.4
  },
  "luminance": 0.00306
}

Semantic roles & 50–950 ramp

primary
#030331
secondary
#74741B
accent
#FF29FF
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#010006
muted
#77777A

Preview Lab

Preview with #030331

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

Preview Lab → · Contrast checker → · Palette generator →

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