#0B1237#0B1237

#0B1237 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.3% C 0.073 H 270.5°. Best body text is #FFFFFF at 18.17:1 contrast (WCAG AA passes).

Color values

HEX#0B1237
RGBrgb(11, 18, 55)
HSLhsl(230, 67%, 13%)
HSVhsv(230, 80%, 22%)
CMYKcmyk(80%, 67.3%, 0%, 78.4%)
CIE-LABlab(7.04, 11.82, -25.11)
CIE-LCHlch(7.04, 27.75, 295.21°)
OKLaboklab(20.29% 0.0006 -0.0725)
OKLCHoklch(20.29% 0.073 270.5)
XYZxyz(1.0437, 0.7795, 3.7091)
Luminance0.0078 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B1237 #37300B
analogous
#0B2837 #0B1237 #1A0B37
triadic
#0B1237 #370B12 #12370B
tetradic
#0B1237 #370B28 #37300B #0B371A
square
#0B1237 #370B28 #37300B #0B371A
split-complementary
#0B1237 #371A0B #28370B
monochromatic
#05081A #05081A #0B1237 #15236A #1F339D

Accessibility & contrast

On white

18.17
#0B1237 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#0B1237 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B1237
18.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B1237#FFFFFF#000000##FFFFFF
##0B12371.0018.171.1618.17
#FFFFFF18.171.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001838
Deuteranopia (green-blind)
#001436
Tritanopia (blue-blind)
#001B22
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #0b1237;
/* rgb */ color: rgb(11, 18, 55);
/* oklch */ color: oklch(20.3% 0.073 270.5);
Tailwind
colors: {
  custom: {
    50: '#514f6e',
    500: '#0b1237',
    950: '#000000',
  },
}
SCSS
$custom: #0b1237;
$custom-light: #514f6e;
$custom-dark: #000000;
JSON
{
  "hex": "#0b1237",
  "rgb": {
    "r": 11,
    "g": 18,
    "b": 55
  },
  "hsl": {
    "h": 230.455,
    "s": 66.667,
    "l": 12.941
  },
  "oklch": {
    "l": 0.2029,
    "c": 0.07252,
    "h": 270.5
  },
  "luminance": 0.0078
}

Semantic roles & 50–950 ramp

primary
#0B1237
secondary
#74682A
accent
#CE3EEA
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020207
muted
#78787A

Preview Lab

Preview with #0B1237

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

Preview Lab → · Contrast checker → · Palette generator →

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