#030231#030231

#030231 is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 15.2% C 0.091 H 269.6°. Best body text is #FFFFFF at 19.87:1 contrast (WCAG AA passes).

Color values

HEX#030231
RGBrgb(3, 2, 49)
HSLhsl(241, 92%, 10%)
HSVhsv(241, 96%, 19%)
CMYKcmyk(93.9%, 95.9%, 0%, 80.8%)
CIE-LABlab(2.57, 14.05, -27.90)
CIE-LCHlch(2.57, 31.24, 296.73°)
OKLaboklab(15.16% -0.0006 -0.0914)
OKLCHoklch(15.16% 0.091 269.6)
XYZxyz(0.6134, 0.2845, 2.9277)
Luminance0.0029 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#030231 #303102
analogous
#021831 #030231 #1B0231
triadic
#030231 #310302 #023103
tetradic
#030231 #310218 #303102 #02311B
square
#030231 #310218 #303102 #02311B
split-complementary
#030231 #311B02 #183102
monochromatic
#02011D #02011D #030231 #07046C #0A07A7

Accessibility & contrast

On white

19.87
#030231 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #030231
19.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##030231#FFFFFF#000000##FFFFFF
##0302311.0019.871.0619.87
#FFFFFF19.871.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000C32
Deuteranopia (green-blind)
#000730
Tritanopia (blue-blind)
#001019
Achromatopsia (no color)
#090909

Design tokens & code

CSS
--color: #030231;
/* rgb */ color: rgb(3, 2, 49);
/* oklch */ color: oklch(15.2% 0.091 269.6);
Tailwind
colors: {
  custom: {
    50: '#4a4769',
    500: '#030231',
    950: '#000000',
  },
}
SCSS
$custom: #030231;
$custom-light: #4a4769;
$custom-dark: #000000;
JSON
{
  "hex": "#030231",
  "rgb": {
    "r": 3,
    "g": 2,
    "b": 49
  },
  "hsl": {
    "h": 241.277,
    "s": 92.157,
    "l": 10
  },
  "oklch": {
    "l": 0.15158,
    "c": 0.09136,
    "h": 269.6
  },
  "luminance": 0.00285
}

Semantic roles & 50–950 ramp

primary
#030231
secondary
#737519
accent
#FF29FA
background
#F4F3F6
surface
#E7E5EB
border
#C3C1C6
text
#010006
muted
#77777A

Preview Lab

Preview with #030231

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

Preview Lab → · Contrast checker → · Palette generator →

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