#07173B#07173B

#07173B is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 21.7% C 0.073 H 263.3°. Best body text is #FFFFFF at 17.58:1 contrast (WCAG AA passes).

Color values

HEX#07173B
RGBrgb(7, 23, 59)
HSLhsl(222, 79%, 13%)
HSVhsv(222, 88%, 23%)
CMYKcmyk(88.1%, 61%, 0%, 76.9%)
CIE-LABlab(8.77, 9.12, -25.20)
CIE-LCHlch(8.77, 26.80, 289.88°)
OKLaboklab(21.67% -0.0086 -0.0726)
OKLCHoklch(21.67% 0.073 263.3)
XYZxyz(1.1832, 0.9736, 4.2624)
Luminance0.0097 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#07173B #3B2B07
analogous
#07313B #07173B #11073B
triadic
#07173B #3B0717 #173B07
tetradic
#07173B #3B0731 #3B2B07 #073B11
square
#07173B #3B0731 #3B2B07 #073B11
split-complementary
#07173B #3B1107 #313B07
monochromatic
#030B1B #030B1B #07173B #0D2C72 #1442A8

Accessibility & contrast

On white

17.58
#07173B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#07173B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #07173B
17.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##07173B#FFFFFF#000000##FFFFFF
##07173B1.0017.581.1917.58
#FFFFFF17.581.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011C3C
Deuteranopia (green-blind)
#00173A
Tritanopia (blue-blind)
#002026
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #07173b;
/* rgb */ color: rgb(7, 23, 59);
/* oklch */ color: oklch(21.7% 0.073 263.3);
Tailwind
colors: {
  custom: {
    50: '#505371',
    500: '#07173b',
    950: '#000000',
  },
}
SCSS
$custom: #07173b;
$custom-light: #505371;
$custom-dark: #000000;
JSON
{
  "hex": "#07173b",
  "rgb": {
    "r": 7,
    "g": 23,
    "b": 59
  },
  "hsl": {
    "h": 221.538,
    "s": 78.788,
    "l": 12.941
  },
  "oklch": {
    "l": 0.21672,
    "c": 0.07311,
    "h": 263.3
  },
  "luminance": 0.00974
}

Semantic roles & 50–950 ramp

primary
#07173B
secondary
#7A6023
accent
#B933F5
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020208
muted
#78787B

Preview Lab

Preview with #07173B

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

Preview Lab → · Contrast checker → · Palette generator →

#07173B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva