#0D074E#0D074E

#0D074E is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 21.2% C 0.120 H 273.1°. Best body text is #FFFFFF at 18.14:1 contrast (WCAG AA passes).

Color values

HEX#0D074E
RGBrgb(13, 7, 78)
HSLhsl(245, 84%, 17%)
HSVhsv(245, 91%, 31%)
CMYKcmyk(83.3%, 91%, 0%, 69.4%)
CIE-LABlab(7.11, 28.96, -41.30)
CIE-LCHlch(7.11, 50.44, 305.04°)
OKLaboklab(21.19% 0.0066 -0.1196)
OKLCHoklch(21.19% 0.12 273.1)
XYZxyz(1.6166, 0.7874, 7.2730)
Luminance0.0079 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D074E #484E07
analogous
#07254E #0D074E #31074E
triadic
#0D074E #4E0D07 #074E0D
tetradic
#0D074E #4E0725 #484E07 #074E31
square
#0D074E #4E0725 #484E07 #074E31
split-complementary
#0D074E #4E3107 #254E07
monochromatic
#05031C #05031C #0D074E #160C86 #2011BE

Accessibility & contrast

On white

18.14
#0D074E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#0D074E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D074E
18.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D074E#FFFFFF#000000##FFFFFF
##0D074E1.0018.141.1618.14
#FFFFFF18.141.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0d074e;
/* rgb */ color: rgb(13, 7, 78);
/* oklch */ color: oklch(21.2% 0.120 273.1);
Tailwind
colors: {
  custom: {
    50: '#5a4981',
    500: '#0d074e',
    950: '#000000',
  },
}
SCSS
$custom: #0d074e;
$custom-light: #5a4981;
$custom-dark: #000000;
JSON
{
  "hex": "#0d074e",
  "rgb": {
    "r": 13,
    "g": 7,
    "b": 78
  },
  "hsl": {
    "h": 245.07,
    "s": 83.529,
    "l": 16.667
  },
  "oklch": {
    "l": 0.2119,
    "c": 0.1198,
    "h": 273.1
  },
  "luminance": 0.00788
}

Semantic roles & 50–950 ramp

primary
#0D074E
secondary
#838C25
accent
#FA2EE9
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04010A
muted
#79777C

Preview Lab

Preview with #0D074E

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

Preview Lab → · Contrast checker → · Palette generator →

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