#0B0240#0B0240

#0B0240 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 18.2% C 0.108 H 275.7°. Best body text is #FFFFFF at 19.14:1 contrast (WCAG AA passes).

Color values

HEX#0B0240
RGBrgb(11, 2, 64)
HSLhsl(249, 94%, 13%)
HSVhsv(249, 97%, 25%)
CMYKcmyk(82.8%, 96.9%, 0%, 74.9%)
CIE-LABlab(4.38, 24.74, -35.94)
CIE-LCHlch(4.38, 43.63, 304.55°)
OKLaboklab(18.21% 0.0107 -0.1075)
OKLCHoklch(18.21% 0.108 275.7)
XYZxyz(1.0848, 0.4846, 4.8859)
Luminance0.0049 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B0240 #374002
analogous
#021840 #0B0240 #2A0240
triadic
#0B0240 #400B02 #02400B
tetradic
#0B0240 #400218 #374002 #02402A
square
#0B0240 #400218 #374002 #02402A
split-complementary
#0B0240 #402A02 #184002
monochromatic
#05011E #05011E #0B0240 #15047B #1F06B7

Accessibility & contrast

On white

19.14
#0B0240 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B0240
19.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B0240#FFFFFF#000000##FFFFFF
##0B02401.0019.141.1019.14
#FFFFFF19.141.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001242
Deuteranopia (green-blind)
#000C3F
Tritanopia (blue-blind)
#001622
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #0b0240;
/* rgb */ color: rgb(11, 2, 64);
/* oklch */ color: oklch(18.2% 0.108 275.7);
Tailwind
colors: {
  custom: {
    50: '#544676',
    500: '#0b0240',
    950: '#000000',
  },
}
SCSS
$custom: #0b0240;
$custom-light: #544676;
$custom-dark: #000000;
JSON
{
  "hex": "#0b0240",
  "rgb": {
    "r": 11,
    "g": 2,
    "b": 64
  },
  "hsl": {
    "h": 248.71,
    "s": 93.939,
    "l": 12.941
  },
  "oklch": {
    "l": 0.18211,
    "c": 0.10803,
    "h": 275.7
  },
  "luminance": 0.00485
}

Semantic roles & 50–950 ramp

primary
#0B0240
secondary
#74831B
accent
#FF29E0
background
#F5F3F7
surface
#E9E5ED
border
#C5C1C8
text
#030008
muted
#78777B

Preview Lab

Preview with #0B0240

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

Preview Lab → · Contrast checker → · Palette generator →

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