#0B074E#0B074E

#0B074E is a very dark, vivid blue. Relative luminance 0.008; OKLCH L 21.1% C 0.120 H 271.8°. Best body text is #FFFFFF at 18.19:1 contrast (WCAG AA passes).

Color values

HEX#0B074E
RGBrgb(11, 7, 78)
HSLhsl(243, 84%, 17%)
HSVhsv(243, 91%, 31%)
CMYKcmyk(85.9%, 91%, 0%, 69.4%)
CIE-LABlab(6.98, 28.78, -41.52)
CIE-LCHlch(6.98, 50.52, 304.73°)
OKLaboklab(21.05% 0.0037 -0.1204)
OKLCHoklch(21.05% 0.12 271.8)
XYZxyz(1.5887, 0.7730, 7.2717)
Luminance0.0077 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B074E #4A4E07
analogous
#07274E #0B074E #2F074E
triadic
#0B074E #4E0B07 #074E0B
tetradic
#0B074E #4E0727 #4A4E07 #074E2F
square
#0B074E #4E0727 #4A4E07 #074E2F
split-complementary
#0B074E #4E2F07 #274E07
monochromatic
#04031C #04031C #0B074E #130C86 #1B11BE

Accessibility & contrast

On white

18.19
#0B074E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#0B074E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B074E
18.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B074E#FFFFFF#000000##FFFFFF
##0B074E1.0018.191.1518.19
#FFFFFF18.191.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001950
Deuteranopia (green-blind)
#00124D
Tritanopia (blue-blind)
#001E2B
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #0b074e;
/* rgb */ color: rgb(11, 7, 78);
/* oklch */ color: oklch(21.1% 0.120 271.8);
Tailwind
colors: {
  custom: {
    50: '#594981',
    500: '#0b074e',
    950: '#000000',
  },
}
SCSS
$custom: #0b074e;
$custom-light: #594981;
$custom-dark: #000000;
JSON
{
  "hex": "#0b074e",
  "rgb": {
    "r": 11,
    "g": 7,
    "b": 78
  },
  "hsl": {
    "h": 243.38,
    "s": 83.529,
    "l": 16.667
  },
  "oklch": {
    "l": 0.21054,
    "c": 0.12042,
    "h": 271.8
  },
  "luminance": 0.00773
}

Semantic roles & 50–950 ramp

primary
#0B074E
secondary
#868C25
accent
#FA2EEE
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04010A
muted
#79777C

Preview Lab

Preview with #0B074E

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

Preview Lab → · Contrast checker → · Palette generator →

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