#0B0F38#0B0F38

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

Color values

HEX#0B0F38
RGBrgb(11, 15, 56)
HSLhsl(235, 67%, 13%)
HSVhsv(235, 80%, 22%)
CMYKcmyk(80.4%, 73.2%, 0%, 78%)
CIE-LABlab(6.31, 14.22, -27.02)
CIE-LCHlch(6.31, 30.54, 297.76°)
OKLaboklab(19.71% 0.0035 -0.0787)
OKLCHoklch(19.71% 0.079 272.5)
XYZxyz(1.0224, 0.6982, 3.8215)
Luminance0.0070 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B0F38 #38340B
analogous
#0B2538 #0B0F38 #1D0B38
triadic
#0B0F38 #380B0F #0F380B
tetradic
#0B0F38 #380B25 #38340B #0B381D
square
#0B0F38 #380B25 #38340B #0B381D
split-complementary
#0B0F38 #381D0B #25380B
monochromatic
#05071A #05071A #0B0F38 #151D6B #1F2A9E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0B0F38#FFFFFF#000000##FFFFFF
##0B0F381.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)
#001639
Deuteranopia (green-blind)
#001237
Tritanopia (blue-blind)
#001921
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #0b0f38;
/* rgb */ color: rgb(11, 15, 56);
/* oklch */ color: oklch(19.7% 0.079 272.5);
Tailwind
colors: {
  custom: {
    50: '#514d6f',
    500: '#0b0f38',
    950: '#000000',
  },
}
SCSS
$custom: #0b0f38;
$custom-light: #514d6f;
$custom-dark: #000000;
JSON
{
  "hex": "#0b0f38",
  "rgb": {
    "r": 11,
    "g": 15,
    "b": 56
  },
  "hsl": {
    "h": 234.667,
    "s": 67.164,
    "l": 13.137
  },
  "oklch": {
    "l": 0.19706,
    "c": 0.07874,
    "h": 272.5
  },
  "luminance": 0.00698
}

Semantic roles & 50–950 ramp

primary
#0B0F38
secondary
#756E2A
accent
#DB3EEA
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020107
muted
#78777A

Preview Lab

Preview with #0B0F38

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

Preview Lab → · Contrast checker → · Palette generator →

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