#0B114C#0B114C

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

Color values

HEX#0B114C
RGBrgb(11, 17, 76)
HSLhsl(234, 75%, 17%)
HSVhsv(234, 86%, 30%)
CMYKcmyk(85.5%, 77.6%, 0%, 70.2%)
CIE-LABlab(8.94, 21.77, -36.90)
CIE-LCHlch(8.94, 42.84, 300.54°)
OKLaboklab(22.39% 0 -0.1068)
OKLCHoklch(22.39% 0.107 270)
XYZxyz(1.6425, 0.9937, 6.9413)
Luminance0.0099 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B114C #4C460B
analogous
#0B324C #0B114C #260B4C
triadic
#0B114C #4C0B11 #114C0B
tetradic
#0B114C #4C0B32 #4C460B #0B4C26
square
#0B114C #4C0B32 #4C460B #0B4C26
split-complementary
#0B114C #4C260B #324C0B
monochromatic
#04061B #04061B #0B114C #131D81 #1A29B7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0B114C#FFFFFF#000000##FFFFFF
##0B114C1.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)
#001D4E
Deuteranopia (green-blind)
#00164B
Tritanopia (blue-blind)
#00222D
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #0b114c;
/* rgb */ color: rgb(11, 17, 76);
/* oklch */ color: oklch(22.4% 0.107 270.0);
Tailwind
colors: {
  custom: {
    50: '#584f7f',
    500: '#0b114c',
    950: '#000000',
  },
}
SCSS
$custom: #0b114c;
$custom-light: #584f7f;
$custom-dark: #000000;
JSON
{
  "hex": "#0b114c",
  "rgb": {
    "r": 11,
    "g": 17,
    "b": 76
  },
  "hsl": {
    "h": 234.462,
    "s": 74.713,
    "l": 17.059
  },
  "oklch": {
    "l": 0.22393,
    "c": 0.10684,
    "h": 270
  },
  "luminance": 0.00994
}

Semantic roles & 50–950 ramp

primary
#0B114C
secondary
#88802B
accent
#E036F1
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #0B114C

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

Preview Lab → · Contrast checker → · Palette generator →

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