#0B124C#0B124C

#0B124C is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.6% C 0.106 H 269.7°. Best body text is #FFFFFF at 17.42:1 contrast (WCAG AA passes).

Color values

HEX#0B124C
RGBrgb(11, 18, 76)
HSLhsl(234, 75%, 17%)
HSVhsv(234, 86%, 30%)
CMYKcmyk(85.5%, 76.3%, 0%, 70.2%)
CIE-LABlab(9.20, 21.06, -36.47)
CIE-LCHlch(9.20, 42.11, 300.01°)
OKLaboklab(22.58% -0.0006 -0.1056)
OKLCHoklch(22.58% 0.106 269.7)
XYZxyz(1.6584, 1.0254, 6.9466)
Luminance0.0103 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B124C #4C450B
analogous
#0B334C #0B124C #240B4C
triadic
#0B124C #4C0B12 #124C0B
tetradic
#0B124C #4C0B33 #4C450B #0B4C24
square
#0B124C #4C0B33 #4C450B #0B4C24
split-complementary
#0B124C #4C240B #334C0B
monochromatic
#04061B #04061B #0B124C #131F81 #1A2BB7

Accessibility & contrast

On white

17.42
#0B124C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#0B124C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B124C
17.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B124C#FFFFFF#000000##FFFFFF
##0B124C1.0017.421.2117.42
#FFFFFF17.421.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D4E
Deuteranopia (green-blind)
#00174B
Tritanopia (blue-blind)
#00222D
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #0b124c;
/* rgb */ color: rgb(11, 18, 76);
/* oklch */ color: oklch(22.6% 0.106 269.7);
Tailwind
colors: {
  custom: {
    50: '#57507f',
    500: '#0b124c',
    950: '#000000',
  },
}
SCSS
$custom: #0b124c;
$custom-light: #57507f;
$custom-dark: #000000;
JSON
{
  "hex": "#0b124c",
  "rgb": {
    "r": 11,
    "g": 18,
    "b": 76
  },
  "hsl": {
    "h": 233.538,
    "s": 74.713,
    "l": 17.059
  },
  "oklch": {
    "l": 0.22582,
    "c": 0.10558,
    "h": 269.7
  },
  "luminance": 0.01026
}

Semantic roles & 50–950 ramp

primary
#0B124C
secondary
#887E2B
accent
#DD36F1
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #0B124C

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

Preview Lab → · Contrast checker → · Palette generator →

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