#030341#030341

#030341 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.9% C 0.111 H 267.5°. Best body text is #FFFFFF at 19.21:1 contrast (WCAG AA passes).

Color values

HEX#030341
RGBrgb(3, 3, 65)
HSLhsl(240, 91%, 13%)
HSVhsv(240, 95%, 25%)
CMYKcmyk(95.4%, 95.4%, 0%, 74.5%)
CIE-LABlab(4.21, 23.32, -36.95)
CIE-LCHlch(4.21, 43.69, 302.26°)
OKLaboklab(17.89% -0.0049 -0.1111)
OKLCHoklch(17.89% 0.111 267.5)
XYZxyz(1.0239, 0.4660, 5.0360)
Luminance0.0047 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#030341 #414103
analogous
#032241 #030341 #220341
triadic
#030341 #410303 #034103
tetradic
#030341 #410322 #414103 #034122
square
#030341 #410322 #414103 #034122
split-complementary
#030341 #412203 #224103
monochromatic
#01011D #01011D #030341 #06067B #0808B6

Accessibility & contrast

On white

19.21
#030341 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#030341 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #030341
19.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##030341#FFFFFF#000000##FFFFFF
##0303411.0019.211.0919.21
#FFFFFF19.211.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001243
Deuteranopia (green-blind)
#000B40
Tritanopia (blue-blind)
#001723
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #030341;
/* rgb */ color: rgb(3, 3, 65);
/* oklch */ color: oklch(17.9% 0.111 267.5);
Tailwind
colors: {
  custom: {
    50: '#514676',
    500: '#030341',
    950: '#000000',
  },
}
SCSS
$custom: #030341;
$custom-light: #514676;
$custom-dark: #000000;
JSON
{
  "hex": "#030341",
  "rgb": {
    "r": 3,
    "g": 3,
    "b": 65
  },
  "hsl": {
    "h": 240,
    "s": 91.176,
    "l": 13.333
  },
  "oklch": {
    "l": 0.17892,
    "c": 0.11118,
    "h": 267.5
  },
  "luminance": 0.00466
}

Semantic roles & 50–950 ramp

primary
#030341
secondary
#83831D
accent
#FF29FF
background
#F5F3F7
surface
#E8E5ED
border
#C4C1C8
text
#030009
muted
#78777B

Preview Lab

Preview with #030341

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

Preview Lab → · Contrast checker → · Palette generator →

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