#0B0235#0B0235

#0B0235 is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 16.6% C 0.094 H 279.5°. Best body text is #FFFFFF at 19.55:1 contrast (WCAG AA passes).

Color values

HEX#0B0235
RGBrgb(11, 2, 53)
HSLhsl(251, 93%, 11%)
HSVhsv(251, 96%, 21%)
CMYKcmyk(79.2%, 96.2%, 0%, 79.2%)
CIE-LABlab(3.36, 18.39, -29.59)
CIE-LCHlch(3.36, 34.84, 301.87°)
OKLaboklab(16.61% 0.0155 -0.0923)
OKLCHoklch(16.61% 0.094 279.5)
XYZxyz(0.8021, 0.3715, 3.3969)
Luminance0.0037 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B0235 #2C3502
analogous
#021235 #0B0235 #240235
triadic
#0B0235 #350B02 #02350B
tetradic
#0B0235 #350212 #2C3502 #023524
square
#0B0235 #350212 #2C3502 #023524
split-complementary
#0B0235 #352402 #123502
monochromatic
#06011D #06011D #0B0235 #170470 #2306AB

Accessibility & contrast

On white

19.55
#0B0235 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#0B0235 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B0235
19.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B0235#FFFFFF#000000##FFFFFF
##0B02351.0019.551.0719.55
#FFFFFF19.551.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E36
Deuteranopia (green-blind)
#000A34
Tritanopia (blue-blind)
#00111B
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #0b0235;
/* rgb */ color: rgb(11, 2, 53);
/* oklch */ color: oklch(16.6% 0.094 279.5);
Tailwind
colors: {
  custom: {
    50: '#4f476d',
    500: '#0b0235',
    950: '#000000',
  },
}
SCSS
$custom: #0b0235;
$custom-light: #4f476d;
$custom-dark: #000000;
JSON
{
  "hex": "#0b0235",
  "rgb": {
    "r": 11,
    "g": 2,
    "b": 53
  },
  "hsl": {
    "h": 250.588,
    "s": 92.727,
    "l": 10.784
  },
  "oklch": {
    "l": 0.16612,
    "c": 0.09361,
    "h": 279.5
  },
  "luminance": 0.00372
}

Semantic roles & 50–950 ramp

primary
#0B0235
secondary
#68791A
accent
#FF29D9
background
#F4F3F6
surface
#E7E5EB
border
#C3C1C6
text
#020007
muted
#78777A

Preview Lab

Preview with #0B0235

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

Preview Lab → · Contrast checker → · Palette generator →

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