#030841#030841

#030841 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.9% C 0.105 H 266.9°. Best body text is #FFFFFF at 18.83:1 contrast (WCAG AA passes).

Color values

HEX#030841
RGBrgb(3, 8, 65)
HSLhsl(235, 91%, 13%)
HSVhsv(235, 95%, 25%)
CMYKcmyk(95.4%, 87.7%, 0%, 74.5%)
CIE-LABlab(5.19, 21.01, -35.34)
CIE-LCHlch(5.19, 41.12, 300.73°)
OKLaboklab(18.87% -0.0057 -0.1045)
OKLCHoklch(18.87% 0.105 266.9)
XYZxyz(1.0782, 0.5745, 5.0541)
Luminance0.0057 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#030841 #413C03
analogous
#032741 #030841 #1D0341
triadic
#030841 #410308 #084103
tetradic
#030841 #410327 #413C03 #03411D
square
#030841 #410327 #413C03 #03411D
split-complementary
#030841 #411D03 #274103
monochromatic
#01041D #01041D #030841 #060F7B #0816B6

Accessibility & contrast

On white

18.83
#030841 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#030841 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #030841
18.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##030841#FFFFFF#000000##FFFFFF
##0308411.0018.831.1218.83
#FFFFFF18.831.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001543
Deuteranopia (green-blind)
#000E40
Tritanopia (blue-blind)
#001924
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #030841;
/* rgb */ color: rgb(3, 8, 65);
/* oklch */ color: oklch(18.9% 0.105 266.9);
Tailwind
colors: {
  custom: {
    50: '#514976',
    500: '#030841',
    950: '#000000',
  },
}
SCSS
$custom: #030841;
$custom-light: #514976;
$custom-dark: #000000;
JSON
{
  "hex": "#030841",
  "rgb": {
    "r": 3,
    "g": 8,
    "b": 65
  },
  "hsl": {
    "h": 235.161,
    "s": 91.176,
    "l": 13.333
  },
  "oklch": {
    "l": 0.18866,
    "c": 0.10469,
    "h": 266.9
  },
  "luminance": 0.00575
}

Semantic roles & 50–950 ramp

primary
#030841
secondary
#837B1D
accent
#EE29FF
background
#F4F4F7
surface
#E8E6ED
border
#C4C2C8
text
#030008
muted
#78777B

Preview Lab

Preview with #030841

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

Preview Lab → · Contrast checker → · Palette generator →

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