#0B0F47#0B0F47

#0B0F47 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.4% C 0.102 H 271.0°. Best body text is #FFFFFF at 17.89:1 contrast (WCAG AA passes).

Color values

HEX#0B0F47
RGBrgb(11, 15, 71)
HSLhsl(236, 73%, 16%)
HSVhsv(236, 85%, 28%)
CMYKcmyk(84.5%, 78.9%, 0%, 72.2%)
CIE-LABlab(7.84, 21.14, -35.23)
CIE-LCHlch(7.84, 41.08, 300.97°)
OKLaboklab(21.42% 0.0018 -0.102)
OKLCHoklch(21.42% 0.102 271)
XYZxyz(1.4458, 0.8676, 6.0513)
Luminance0.0087 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B0F47 #47430B
analogous
#0B2D47 #0B0F47 #250B47
triadic
#0B0F47 #470B0F #0F470B
tetradic
#0B0F47 #470B2D #47430B #0B4725
square
#0B0F47 #470B2D #47430B #0B4725
split-complementary
#0B0F47 #47250B #2D470B
monochromatic
#04061A #04061A #0B0F47 #131A7C #1B25B1

Accessibility & contrast

On white

17.89
#0B0F47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#0B0F47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B0F47
17.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B0F47#FFFFFF#000000##FFFFFF
##0B0F471.0017.891.1717.89
#FFFFFF17.891.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A49
Deuteranopia (green-blind)
#001446
Tritanopia (blue-blind)
#001F29
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #0b0f47;
/* rgb */ color: rgb(11, 15, 71);
/* oklch */ color: oklch(21.4% 0.102 271.0);
Tailwind
colors: {
  custom: {
    50: '#564d7b',
    500: '#0b0f47',
    950: '#000000',
  },
}
SCSS
$custom: #0b0f47;
$custom-light: #564d7b;
$custom-dark: #000000;
JSON
{
  "hex": "#0b0f47",
  "rgb": {
    "r": 11,
    "g": 15,
    "b": 71
  },
  "hsl": {
    "h": 236,
    "s": 73.171,
    "l": 16.078
  },
  "oklch": {
    "l": 0.21423,
    "c": 0.10199,
    "h": 271
  },
  "luminance": 0.00868
}

Semantic roles & 50–950 ramp

primary
#0B0F47
secondary
#837D2A
accent
#E438F0
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#030109
muted
#78777B

Preview Lab

Preview with #0B0F47

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

Preview Lab → · Contrast checker → · Palette generator →

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