#0B0640#0B0640

#0B0640 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 19.0% C 0.103 H 274.7°. Best body text is #FFFFFF at 18.84:1 contrast (WCAG AA passes).

Color values

HEX#0B0640
RGBrgb(11, 6, 64)
HSLhsl(245, 83%, 14%)
HSVhsv(245, 91%, 25%)
CMYKcmyk(82.8%, 90.6%, 0%, 74.9%)
CIE-LABlab(5.16, 22.84, -34.66)
CIE-LCHlch(5.16, 41.51, 303.39°)
OKLaboklab(18.97% 0.0084 -0.1023)
OKLCHoklch(18.97% 0.103 274.7)
XYZxyz(1.1282, 0.5714, 4.9003)
Luminance0.0057 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B0640 #3B4006
analogous
#061E40 #0B0640 #280640
triadic
#0B0640 #400B06 #06400B
tetradic
#0B0640 #40061E #3B4006 #064028
square
#0B0640 #40061E #3B4006 #064028
split-complementary
#0B0640 #402806 #1E4006
monochromatic
#05031C #05031C #0B0640 #150B78 #1E10B0

Accessibility & contrast

On white

18.84
#0B0640 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#0B0640 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B0640
18.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B0640#FFFFFF#000000##FFFFFF
##0B06401.0018.841.1118.84
#FFFFFF18.841.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001442
Deuteranopia (green-blind)
#000F3F
Tritanopia (blue-blind)
#001823
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #0b0640;
/* rgb */ color: rgb(11, 6, 64);
/* oklch */ color: oklch(19.0% 0.103 274.7);
Tailwind
colors: {
  custom: {
    50: '#544876',
    500: '#0b0640',
    950: '#000000',
  },
}
SCSS
$custom: #0b0640;
$custom-light: #544876;
$custom-dark: #000000;
JSON
{
  "hex": "#0b0640",
  "rgb": {
    "r": 11,
    "g": 6,
    "b": 64
  },
  "hsl": {
    "h": 245.172,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.1897,
    "c": 0.10266,
    "h": 274.7
  },
  "luminance": 0.00572
}

Semantic roles & 50–950 ramp

primary
#0B0640
secondary
#788022
accent
#F92FE8
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#030008
muted
#78777B

Preview Lab

Preview with #0B0640

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

Preview Lab → · Contrast checker → · Palette generator →

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