#0B0D48#0B0D48

#0B0D48 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 21.2% C 0.106 H 271.5°. Best body text is #FFFFFF at 18.02:1 contrast (WCAG AA passes).

Color values

HEX#0B0D48
RGBrgb(11, 13, 72)
HSLhsl(238, 73%, 16%)
HSVhsv(238, 85%, 28%)
CMYKcmyk(84.7%, 81.9%, 0%, 71.8%)
CIE-LABlab(7.47, 22.89, -36.54)
CIE-LCHlch(7.47, 43.11, 302.07°)
OKLaboklab(21.19% 0.0028 -0.1058)
OKLCHoklch(21.19% 0.106 271.5)
XYZxyz(1.4512, 0.8267, 6.2127)
Luminance0.0083 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B0D48 #48460B
analogous
#0B2C48 #0B0D48 #280B48
triadic
#0B0D48 #480B0D #0D480B
tetradic
#0B0D48 #480B2C #48460B #0B4828
square
#0B0D48 #480B2C #48460B #0B4828
split-complementary
#0B0D48 #48280B #2C480B
monochromatic
#04051B #04051B #0B0D48 #13177D #1B20B2

Accessibility & contrast

On white

18.02
#0B0D48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B0D48
18.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B0D48#FFFFFF#000000##FFFFFF
##0B0D481.0018.021.1718.02
#FFFFFF18.021.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00194A
Deuteranopia (green-blind)
#001347
Tritanopia (blue-blind)
#001E29
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #0b0d48;
/* rgb */ color: rgb(11, 13, 72);
/* oklch */ color: oklch(21.2% 0.106 271.5);
Tailwind
colors: {
  custom: {
    50: '#574c7c',
    500: '#0b0d48',
    950: '#000000',
  },
}
SCSS
$custom: #0b0d48;
$custom-light: #574c7c;
$custom-dark: #000000;
JSON
{
  "hex": "#0b0d48",
  "rgb": {
    "r": 11,
    "g": 13,
    "b": 72
  },
  "hsl": {
    "h": 238.033,
    "s": 73.494,
    "l": 16.275
  },
  "oklch": {
    "l": 0.21187,
    "c": 0.10587,
    "h": 271.5
  },
  "luminance": 0.00827
}

Semantic roles & 50–950 ramp

primary
#0B0D48
secondary
#84812A
accent
#EA38F0
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040109
muted
#79777B

Preview Lab

Preview with #0B0D48

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

Preview Lab → · Contrast checker → · Palette generator →

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