#0B0239#0B0239

#0B0239 is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 17.2% C 0.099 H 278.0°. Best body text is #FFFFFF at 19.41:1 contrast (WCAG AA passes).

Color values

HEX#0B0239
RGBrgb(11, 2, 57)
HSLhsl(250, 93%, 12%)
HSVhsv(250, 96%, 22%)
CMYKcmyk(80.7%, 96.5%, 0%, 77.6%)
CIE-LABlab(3.70, 20.78, -31.97)
CIE-LCHlch(3.70, 38.13, 303.02°)
OKLaboklab(17.19% 0.0137 -0.0979)
OKLCHoklch(17.19% 0.099 278)
XYZxyz(0.8980, 0.4099, 3.9019)
Luminance0.0041 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B0239 #303902
analogous
#021539 #0B0239 #270239
triadic
#0B0239 #390B02 #02390B
tetradic
#0B0239 #390215 #303902 #023927
square
#0B0239 #390215 #303902 #023927
split-complementary
#0B0239 #392702 #153902
monochromatic
#06011E #06011E #0B0239 #160474 #2206AF

Accessibility & contrast

On white

19.41
#0B0239 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#0B0239 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B0239
19.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B0239#FFFFFF#000000##FFFFFF
##0B02391.0019.411.0819.41
#FFFFFF19.411.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F3A
Deuteranopia (green-blind)
#000B38
Tritanopia (blue-blind)
#00131E
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #0b0239;
/* rgb */ color: rgb(11, 2, 57);
/* oklch */ color: oklch(17.2% 0.099 278.0);
Tailwind
colors: {
  custom: {
    50: '#514670',
    500: '#0b0239',
    950: '#000000',
  },
}
SCSS
$custom: #0b0239;
$custom-light: #514670;
$custom-dark: #000000;
JSON
{
  "hex": "#0b0239",
  "rgb": {
    "r": 11,
    "g": 2,
    "b": 57
  },
  "hsl": {
    "h": 249.818,
    "s": 93.22,
    "l": 11.569
  },
  "oklch": {
    "l": 0.17189,
    "c": 0.09891,
    "h": 278
  },
  "luminance": 0.0041
}

Semantic roles & 50–950 ramp

primary
#0B0239
secondary
#6D7D1A
accent
#FF29DC
background
#F4F3F6
surface
#E7E5EC
border
#C3C1C7
text
#020007
muted
#78777A

Preview Lab

Preview with #0B0239

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

Preview Lab → · Contrast checker → · Palette generator →

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