#07153E#07153E

#07153E is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.5% C 0.081 H 265.3°. Best body text is #FFFFFF at 17.71:1 contrast (WCAG AA passes).

Color values

HEX#07153E
RGBrgb(7, 21, 62)
HSLhsl(225, 80%, 14%)
HSVhsv(225, 89%, 24%)
CMYKcmyk(88.7%, 66.1%, 0%, 75.7%)
CIE-LABlab(8.39, 12.11, -27.97)
CIE-LCHlch(8.39, 30.48, 293.42°)
OKLaboklab(21.47% -0.0066 -0.0808)
OKLCHoklch(21.47% 0.081 265.3)
XYZxyz(1.2250, 0.9292, 4.6713)
Luminance0.0093 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#07153E #3E3007
analogous
#07303E #07153E #14073E
triadic
#07153E #3E0715 #153E07
tetradic
#07153E #3E0730 #3E3007 #073E14
square
#07153E #3E0730 #3E3007 #073E14
split-complementary
#07153E #3E1407 #303E07
monochromatic
#03091B #03091B #07153E #0D2875 #133AAC

Accessibility & contrast

On white

17.71
#07153E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#07153E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #07153E
17.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##07153E#FFFFFF#000000##FFFFFF
##07153E1.0017.711.1917.71
#FFFFFF17.711.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B3F
Deuteranopia (green-blind)
#00163D
Tritanopia (blue-blind)
#001F27
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #07153e;
/* rgb */ color: rgb(7, 21, 62);
/* oklch */ color: oklch(21.5% 0.081 265.3);
Tailwind
colors: {
  custom: {
    50: '#515174',
    500: '#07153e',
    950: '#000000',
  },
}
SCSS
$custom: #07153e;
$custom-light: #515174;
$custom-dark: #000000;
JSON
{
  "hex": "#07153e",
  "rgb": {
    "r": 7,
    "g": 21,
    "b": 62
  },
  "hsl": {
    "h": 224.727,
    "s": 79.71,
    "l": 13.529
  },
  "oklch": {
    "l": 0.2147,
    "c": 0.08104,
    "h": 265.3
  },
  "luminance": 0.00929
}

Semantic roles & 50–950 ramp

primary
#07153E
secondary
#7D6624
accent
#C432F6
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#020208
muted
#78787B

Preview Lab

Preview with #07153E

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

Preview Lab → · Contrast checker → · Palette generator →

#07153E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva