#0F033B#0F033B

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

Color values

HEX#0F033B
RGBrgb(15, 3, 59)
HSLhsl(253, 90%, 12%)
HSVhsv(253, 95%, 23%)
CMYKcmyk(74.6%, 94.9%, 0%, 76.9%)
CIE-LABlab(4.36, 22.49, -32.35)
CIE-LCHlch(4.36, 39.40, 304.81°)
OKLaboklab(18.08% 0.0195 -0.0971)
OKLCHoklch(18.08% 0.099 281.3)
XYZxyz(1.0187, 0.4824, 4.1762)
Luminance0.0048 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F033B #2F3B03
analogous
#03133B #0F033B #2B033B
triadic
#0F033B #3B0F03 #033B0F
tetradic
#0F033B #3B0313 #2F3B03 #033B2B
square
#0F033B #3B0313 #2F3B03 #033B2B
split-complementary
#0F033B #3B2B03 #133B03
monochromatic
#07011D #07011D #0F033B #1E0675 #2D09AF

Accessibility & contrast

On white

19.15
#0F033B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#0F033B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F033B
19.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F033B#FFFFFF#000000##FFFFFF
##0F033B1.0019.151.1019.15
#FFFFFF19.151.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00113D
Deuteranopia (green-blind)
#000D3A
Tritanopia (blue-blind)
#00141F
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #0f033b;
/* rgb */ color: rgb(15, 3, 59);
/* oklch */ color: oklch(18.1% 0.099 281.3);
Tailwind
colors: {
  custom: {
    50: '#544772',
    500: '#0f033b',
    950: '#000000',
  },
}
SCSS
$custom: #0f033b;
$custom-light: #544772;
$custom-dark: #000000;
JSON
{
  "hex": "#0f033b",
  "rgb": {
    "r": 15,
    "g": 3,
    "b": 59
  },
  "hsl": {
    "h": 252.857,
    "s": 90.323,
    "l": 12.157
  },
  "oklch": {
    "l": 0.18083,
    "c": 0.09903,
    "h": 281.3
  },
  "luminance": 0.00482
}

Semantic roles & 50–950 ramp

primary
#0F033B
secondary
#697E1C
accent
#FF29D1
background
#F5F3F6
surface
#E9E5EC
border
#C5C1C7
text
#030008
muted
#78777B

Preview Lab

Preview with #0F033B

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

Preview Lab → · Contrast checker → · Palette generator →

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