#0B104A#0B104A

#0B104A is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 22.0% C 0.105 H 270.4°. Best body text is #FFFFFF at 17.69:1 contrast (WCAG AA passes).

Color values

HEX#0B104A
RGBrgb(11, 16, 74)
HSLhsl(235, 74%, 17%)
HSVhsv(235, 85%, 29%)
CMYKcmyk(85.1%, 78.4%, 0%, 71%)
CIE-LABlab(8.45, 21.66, -36.32)
CIE-LCHlch(8.45, 42.29, 300.82°)
OKLaboklab(21.97% 0.0008 -0.1051)
OKLCHoklch(21.97% 0.105 270.4)
XYZxyz(1.5589, 0.9360, 6.5757)
Luminance0.0094 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B104A #4A450B
analogous
#0B304A #0B104A #260B4A
triadic
#0B104A #4A0B10 #104A0B
tetradic
#0B104A #4A0B30 #4A450B #0B4A26
square
#0B104A #4A0B30 #4A450B #0B4A26
split-complementary
#0B104A #4A260B #304A0B
monochromatic
#04061B #04061B #0B104A #131C7F #1B27B5

Accessibility & contrast

On white

17.69
#0B104A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#0B104A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B104A
17.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B104A#FFFFFF#000000##FFFFFF
##0B104A1.0017.691.1917.69
#FFFFFF17.691.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B4C
Deuteranopia (green-blind)
#001549
Tritanopia (blue-blind)
#00202B
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #0b104a;
/* rgb */ color: rgb(11, 16, 74);
/* oklch */ color: oklch(22.0% 0.105 270.4);
Tailwind
colors: {
  custom: {
    50: '#574e7d',
    500: '#0b104a',
    950: '#000000',
  },
}
SCSS
$custom: #0b104a;
$custom-light: #574e7d;
$custom-dark: #000000;
JSON
{
  "hex": "#0b104a",
  "rgb": {
    "r": 11,
    "g": 16,
    "b": 74
  },
  "hsl": {
    "h": 235.238,
    "s": 74.118,
    "l": 16.667
  },
  "oklch": {
    "l": 0.21968,
    "c": 0.10515,
    "h": 270.4
  },
  "luminance": 0.00936
}

Semantic roles & 50–950 ramp

primary
#0B104A
secondary
#867F2B
accent
#E237F1
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04010A
muted
#79777C

Preview Lab

Preview with #0B104A

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

Preview Lab → · Contrast checker → · Palette generator →

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