#0B0945#0B0945

#0B0945 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 20.2% C 0.106 H 272.9°. Best body text is #FFFFFF at 18.43:1 contrast (WCAG AA passes).

Color values

HEX#0B0945
RGBrgb(11, 9, 69)
HSLhsl(242, 77%, 15%)
HSVhsv(242, 87%, 27%)
CMYKcmyk(84.1%, 87%, 0%, 72.9%)
CIE-LABlab(6.29, 23.80, -36.37)
CIE-LCHlch(6.29, 43.46, 303.20°)
OKLaboklab(20.15% 0.0054 -0.1059)
OKLCHoklch(20.15% 0.106 272.9)
XYZxyz(1.3095, 0.6961, 5.6944)
Luminance0.0070 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B0945 #434509
analogous
#092545 #0B0945 #290945
triadic
#0B0945 #450B09 #09450B
tetradic
#0B0945 #450925 #434509 #094529
square
#0B0945 #450925 #434509 #094529
split-complementary
#0B0945 #452909 #254509
monochromatic
#04041B #04041B #0B0945 #14107B #1C17B1

Accessibility & contrast

On white

18.43
#0B0945 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#0B0945 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B0945
18.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B0945#FFFFFF#000000##FFFFFF
##0B09451.0018.431.1418.43
#FFFFFF18.431.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001747
Deuteranopia (green-blind)
#001144
Tritanopia (blue-blind)
#001B27
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #0b0945;
/* rgb */ color: rgb(11, 9, 69);
/* oklch */ color: oklch(20.2% 0.106 272.9);
Tailwind
colors: {
  custom: {
    50: '#564a79',
    500: '#0b0945',
    950: '#000000',
  },
}
SCSS
$custom: #0b0945;
$custom-light: #564a79;
$custom-dark: #000000;
JSON
{
  "hex": "#0b0945",
  "rgb": {
    "r": 11,
    "g": 9,
    "b": 69
  },
  "hsl": {
    "h": 242,
    "s": 76.923,
    "l": 15.294
  },
  "oklch": {
    "l": 0.2015,
    "c": 0.10607,
    "h": 272.9
  },
  "luminance": 0.00696
}

Semantic roles & 50–950 ramp

primary
#0B0945
secondary
#808327
accent
#F334ED
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030109
muted
#78777B

Preview Lab

Preview with #0B0945

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

Preview Lab → · Contrast checker → · Palette generator →

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