#0B0438#0B0438

#0B0438 is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 17.5% C 0.094 H 277.6°. Best body text is #FFFFFF at 19.29:1 contrast (WCAG AA passes).

Color values

HEX#0B0438
RGBrgb(11, 4, 56)
HSLhsl(248, 87%, 12%)
HSVhsv(248, 93%, 22%)
CMYKcmyk(80.4%, 92.9%, 0%, 78%)
CIE-LABlab(4.01, 19.35, -30.75)
CIE-LCHlch(4.01, 36.33, 302.19°)
OKLaboklab(17.48% 0.0125 -0.0935)
OKLCHoklch(17.48% 0.094 277.6)
XYZxyz(0.8950, 0.4434, 3.7790)
Luminance0.0044 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B0438 #313804
analogous
#041738 #0B0438 #250438
triadic
#0B0438 #380B04 #04380B
tetradic
#0B0438 #380417 #313804 #043825
square
#0B0438 #380417 #313804 #043825
split-complementary
#0B0438 #382504 #173804
monochromatic
#06021D #06021D #0B0438 #160871 #210CAA

Accessibility & contrast

On white

19.29
#0B0438 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#0B0438 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B0438
19.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B0438#FFFFFF#000000##FFFFFF
##0B04381.0019.291.0919.29
#FFFFFF19.291.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001039
Deuteranopia (green-blind)
#000C37
Tritanopia (blue-blind)
#00131E
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #0b0438;
/* rgb */ color: rgb(11, 4, 56);
/* oklch */ color: oklch(17.5% 0.094 277.6);
Tailwind
colors: {
  custom: {
    50: '#51476f',
    500: '#0b0438',
    950: '#000000',
  },
}
SCSS
$custom: #0b0438;
$custom-light: #51476f;
$custom-dark: #000000;
JSON
{
  "hex": "#0b0438",
  "rgb": {
    "r": 11,
    "g": 4,
    "b": 56
  },
  "hsl": {
    "h": 248.077,
    "s": 86.667,
    "l": 11.765
  },
  "oklch": {
    "l": 0.17484,
    "c": 0.09438,
    "h": 277.6
  },
  "luminance": 0.00444
}

Semantic roles & 50–950 ramp

primary
#0B0438
secondary
#6E7A1E
accent
#FD2BE1
background
#F4F4F6
surface
#E7E6EC
border
#C3C2C7
text
#020007
muted
#78777A

Preview Lab

Preview with #0B0438

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

Preview Lab → · Contrast checker → · Palette generator →

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