#0D033B#0D033B

#0D033B is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 17.9% C 0.099 H 279.1°. Best body text is #FFFFFF at 19.21:1 contrast (WCAG AA passes).

Color values

HEX#0D033B
RGBrgb(13, 3, 59)
HSLhsl(251, 90%, 12%)
HSVhsv(251, 95%, 23%)
CMYKcmyk(78%, 94.9%, 0%, 76.9%)
CIE-LABlab(4.21, 21.99, -32.59)
CIE-LCHlch(4.21, 39.31, 304.00°)
OKLaboklab(17.88% 0.0157 -0.0982)
OKLCHoklch(17.88% 0.099 279.1)
XYZxyz(0.9877, 0.4664, 4.1748)
Luminance0.0047 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D033B #313B03
analogous
#03153B #0D033B #29033B
triadic
#0D033B #3B0D03 #033B0D
tetradic
#0D033B #3B0315 #313B03 #033B29
square
#0D033B #3B0315 #313B03 #033B29
split-complementary
#0D033B #3B2903 #153B03
monochromatic
#06011D #06011D #0D033B #1A0675 #2709AF

Accessibility & contrast

On white

19.21
#0D033B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#0D033B on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##0D033B#FFFFFF#000000##FFFFFF
##0D033B1.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)
#00113D
Deuteranopia (green-blind)
#000C3A
Tritanopia (blue-blind)
#00141F
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #0d033b;
/* rgb */ color: rgb(13, 3, 59);
/* oklch */ color: oklch(17.9% 0.099 279.1);
Tailwind
colors: {
  custom: {
    50: '#534772',
    500: '#0d033b',
    950: '#000000',
  },
}
SCSS
$custom: #0d033b;
$custom-light: #534772;
$custom-dark: #000000;
JSON
{
  "hex": "#0d033b",
  "rgb": {
    "r": 13,
    "g": 3,
    "b": 59
  },
  "hsl": {
    "h": 250.714,
    "s": 90.323,
    "l": 12.157
  },
  "oklch": {
    "l": 0.1788,
    "c": 0.09948,
    "h": 279.1
  },
  "luminance": 0.00466
}

Semantic roles & 50–950 ramp

primary
#0D033B
secondary
#6C7E1C
accent
#FF29D9
background
#F5F3F6
surface
#E9E5EC
border
#C5C1C7
text
#030008
muted
#78777B

Preview Lab

Preview with #0D033B

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

Preview Lab → · Contrast checker → · Palette generator →

#0D033B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva