#0B1948#0B1948

#0B1948 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.6% C 0.090 H 266.6°. Best body text is #FFFFFF at 16.84:1 contrast (WCAG AA passes).

Color values

HEX#0B1948
RGBrgb(11, 25, 72)
HSLhsl(226, 73%, 16%)
HSVhsv(226, 85%, 28%)
CMYKcmyk(84.7%, 65.3%, 0%, 71.8%)
CIE-LABlab(10.81, 14.05, -31.06)
CIE-LCHlch(10.81, 34.09, 294.34°)
OKLaboklab(23.64% -0.0053 -0.0897)
OKLCHoklch(23.64% 0.09 266.6)
XYZxyz(1.6549, 1.2341, 6.2806)
Luminance0.0123 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B1948 #483A0B
analogous
#0B3848 #0B1948 #1C0B48
triadic
#0B1948 #480B19 #19480B
tetradic
#0B1948 #480B38 #483A0B #0B481C
square
#0B1948 #480B38 #483A0B #0B481C
split-complementary
#0B1948 #481C0B #38480B
monochromatic
#04091B #04091B #0B1948 #132B7D #1B3EB2

Accessibility & contrast

On white

16.84
#0B1948 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#0B1948 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B1948
16.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B1948#FFFFFF#000000##FFFFFF
##0B19481.0016.841.2516.84
#FFFFFF16.841.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00204A
Deuteranopia (green-blind)
#001A47
Tritanopia (blue-blind)
#00252D
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #0b1948;
/* rgb */ color: rgb(11, 25, 72);
/* oklch */ color: oklch(23.6% 0.090 266.6);
Tailwind
colors: {
  custom: {
    50: '#55557b',
    500: '#0b1948',
    950: '#000000',
  },
}
SCSS
$custom: #0b1948;
$custom-light: #55557b;
$custom-dark: #000000;
JSON
{
  "hex": "#0b1948",
  "rgb": {
    "r": 11,
    "g": 25,
    "b": 72
  },
  "hsl": {
    "h": 226.23,
    "s": 73.494,
    "l": 16.275
  },
  "oklch": {
    "l": 0.23636,
    "c": 0.08983,
    "h": 266.6
  },
  "luminance": 0.01234
}

Semantic roles & 50–950 ramp

primary
#0B1948
secondary
#84702A
accent
#C638F0
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#030309
muted
#78787B

Preview Lab

Preview with #0B1948

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

Preview Lab → · Contrast checker → · Palette generator →

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