#0B1E4C#0B1E4C

#0B1E4C is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.2% C 0.089 H 264.1°. Best body text is #FFFFFF at 16.10:1 contrast (WCAG AA passes).

Color values

HEX#0B1E4C
RGBrgb(11, 30, 76)
HSLhsl(222, 75%, 17%)
HSVhsv(222, 86%, 30%)
CMYKcmyk(85.5%, 60.5%, 0%, 70.2%)
CIE-LABlab(12.74, 11.96, -30.68)
CIE-LCHlch(12.74, 32.92, 291.30°)
OKLaboklab(25.21% -0.0092 -0.0885)
OKLCHoklch(25.21% 0.089 264.1)
XYZxyz(1.9063, 1.5213, 7.0292)
Luminance0.0152 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B1E4C #4C390B
analogous
#0B3F4C #0B1E4C #190B4C
triadic
#0B1E4C #4C0B1E #1E4C0B
tetradic
#0B1E4C #4C0B3F #4C390B #0B4C19
square
#0B1E4C #4C0B3F #4C390B #0B4C19
split-complementary
#0B1E4C #4C190B #3F4C0B
monochromatic
#040B1B #040B1B #0B1E4C #133381 #1A48B7

Accessibility & contrast

On white

16.10
#0B1E4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#0B1E4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B1E4C
16.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B1E4C#FFFFFF#000000##FFFFFF
##0B1E4C1.0016.101.3016.10
#FFFFFF16.101.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00244E
Deuteranopia (green-blind)
#001E4B
Tritanopia (blue-blind)
#002931
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #0b1e4c;
/* rgb */ color: rgb(11, 30, 76);
/* oklch */ color: oklch(25.2% 0.089 264.1);
Tailwind
colors: {
  custom: {
    50: '#56597e',
    500: '#0b1e4c',
    950: '#000000',
  },
}
SCSS
$custom: #0b1e4c;
$custom-light: #56597e;
$custom-dark: #000000;
JSON
{
  "hex": "#0b1e4c",
  "rgb": {
    "r": 11,
    "g": 30,
    "b": 76
  },
  "hsl": {
    "h": 222.462,
    "s": 74.713,
    "l": 17.059
  },
  "oklch": {
    "l": 0.25206,
    "c": 0.08894,
    "h": 264.1
  },
  "luminance": 0.01521
}

Semantic roles & 50–950 ramp

primary
#0B1E4C
secondary
#886D2B
accent
#BB36F1
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#03030A
muted
#78787C

Preview Lab

Preview with #0B1E4C

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

Preview Lab → · Contrast checker → · Palette generator →

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