#0B062E#0B062E

#0B062E is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.6% C 0.076 H 280.4°. Best body text is #FFFFFF at 19.45:1 contrast (WCAG AA passes).

Color values

HEX#0B062E
RGBrgb(11, 6, 46)
HSLhsl(248, 77%, 10%)
HSVhsv(248, 87%, 18%)
CMYKcmyk(76.1%, 87%, 0%, 82%)
CIE-LABlab(3.60, 13.00, -23.98)
CIE-LCHlch(3.60, 27.27, 298.46°)
OKLaboklab(16.63% 0.0137 -0.0752)
OKLCHoklch(16.63% 0.076 280.4)
XYZxyz(0.6961, 0.3986, 2.6245)
Luminance0.0040 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B062E #292E06
analogous
#06152E #0B062E #1F062E
triadic
#0B062E #2E0B06 #062E0B
tetradic
#0B062E #2E0615 #292E06 #062E1F
square
#0B062E #2E0615 #292E06 #062E1F
split-complementary
#0B062E #2E1F06 #152E06
monochromatic
#06041B #06041B #0B062E #180D64 #25149A

Accessibility & contrast

On white

19.45
#0B062E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#0B062E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B062E
19.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B062E#FFFFFF#000000##FFFFFF
##0B062E1.0019.451.0819.45
#FFFFFF19.451.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E2F
Deuteranopia (green-blind)
#000B2D
Tritanopia (blue-blind)
#001119
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #0b062e;
/* rgb */ color: rgb(11, 6, 46);
/* oklch */ color: oklch(16.6% 0.076 280.4);
Tailwind
colors: {
  custom: {
    50: '#4d4967',
    500: '#0b062e',
    950: '#000000',
  },
}
SCSS
$custom: #0b062e;
$custom-light: #4d4967;
$custom-dark: #000000;
JSON
{
  "hex": "#0b062e",
  "rgb": {
    "r": 11,
    "g": 6,
    "b": 46
  },
  "hsl": {
    "h": 247.5,
    "s": 76.923,
    "l": 10.196
  },
  "oklch": {
    "l": 0.1663,
    "c": 0.07643,
    "h": 280.4
  },
  "luminance": 0.00399
}

Semantic roles & 50–950 ramp

primary
#0B062E
secondary
#656F21
accent
#F334DC
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#020006
muted
#78777A

Preview Lab

Preview with #0B062E

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

Preview Lab → · Contrast checker → · Palette generator →

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