#0B104E#0B104E

#0B104E is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.5% C 0.111 H 270.1°. Best body text is #FFFFFF at 17.52:1 contrast (WCAG AA passes).

Color values

HEX#0B104E
RGBrgb(11, 16, 78)
HSLhsl(236, 75%, 17%)
HSVhsv(236, 86%, 31%)
CMYKcmyk(85.9%, 79.5%, 0%, 69.4%)
CIE-LABlab(8.92, 23.29, -38.31)
CIE-LCHlch(8.92, 44.83, 301.29°)
OKLaboklab(22.45% 0.0002 -0.111)
OKLCHoklch(22.45% 0.111 270.1)
XYZxyz(1.6980, 0.9916, 7.3082)
Luminance0.0099 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B104E #4E490B
analogous
#0B324E #0B104E #270B4E
triadic
#0B104E #4E0B10 #104E0B
tetradic
#0B104E #4E0B32 #4E490B #0B4E27
square
#0B104E #4E0B32 #4E490B #0B4E27
split-complementary
#0B104E #4E270B #324E0B
monochromatic
#04061B #04061B #0B104E #131B84 #1A26B9

Accessibility & contrast

On white

17.52
#0B104E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#0B104E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B104E
17.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B104E#FFFFFF#000000##FFFFFF
##0B104E1.0017.521.2017.52
#FFFFFF17.521.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D50
Deuteranopia (green-blind)
#00164D
Tritanopia (blue-blind)
#00222D
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #0b104e;
/* rgb */ color: rgb(11, 16, 78);
/* oklch */ color: oklch(22.5% 0.111 270.1);
Tailwind
colors: {
  custom: {
    50: '#584e80',
    500: '#0b104e',
    950: '#000000',
  },
}
SCSS
$custom: #0b104e;
$custom-light: #584e80;
$custom-dark: #000000;
JSON
{
  "hex": "#0b104e",
  "rgb": {
    "r": 11,
    "g": 16,
    "b": 78
  },
  "hsl": {
    "h": 235.522,
    "s": 75.281,
    "l": 17.451
  },
  "oklch": {
    "l": 0.22451,
    "c": 0.11096,
    "h": 270.1
  },
  "luminance": 0.00992
}

Semantic roles & 50–950 ramp

primary
#0B104E
secondary
#8A832B
accent
#E436F2
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04010A
muted
#79777C

Preview Lab

Preview with #0B104E

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

Preview Lab → · Contrast checker → · Palette generator →

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