#030941#030941

#030941 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 19.0% C 0.103 H 266.7°. Best body text is #FFFFFF at 18.76:1 contrast (WCAG AA passes).

Color values

HEX#030941
RGBrgb(3, 9, 65)
HSLhsl(234, 91%, 13%)
HSVhsv(234, 95%, 25%)
CMYKcmyk(95.4%, 86.2%, 0%, 74.5%)
CIE-LABlab(5.39, 20.54, -35.02)
CIE-LCHlch(5.39, 40.60, 300.39°)
OKLaboklab(19.05% -0.006 -0.1033)
OKLCHoklch(19.05% 0.103 266.7)
XYZxyz(1.0890, 0.5962, 5.0577)
Luminance0.0060 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#030941 #413B03
analogous
#032841 #030941 #1C0341
triadic
#030941 #410309 #094103
tetradic
#030941 #410328 #413B03 #03411C
square
#030941 #410328 #413B03 #03411C
split-complementary
#030941 #411C03 #284103
monochromatic
#01041D #01041D #030941 #06117B #0819B6

Accessibility & contrast

On white

18.76
#030941 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #030941
18.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##030941#FFFFFF#000000##FFFFFF
##0309411.0018.761.1218.76
#FFFFFF18.761.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001543
Deuteranopia (green-blind)
#000F40
Tritanopia (blue-blind)
#001A24
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #030941;
/* rgb */ color: rgb(3, 9, 65);
/* oklch */ color: oklch(19.0% 0.103 266.7);
Tailwind
colors: {
  custom: {
    50: '#514976',
    500: '#030941',
    950: '#000000',
  },
}
SCSS
$custom: #030941;
$custom-light: #514976;
$custom-dark: #000000;
JSON
{
  "hex": "#030941",
  "rgb": {
    "r": 3,
    "g": 9,
    "b": 65
  },
  "hsl": {
    "h": 234.194,
    "s": 91.176,
    "l": 13.333
  },
  "oklch": {
    "l": 0.19049,
    "c": 0.10347,
    "h": 266.7
  },
  "luminance": 0.00596
}

Semantic roles & 50–950 ramp

primary
#030941
secondary
#83791D
accent
#EA29FF
background
#F4F4F7
surface
#E8E7ED
border
#C4C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #030941

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

Preview Lab → · Contrast checker → · Palette generator →

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