#07153C#07153C

#07153C is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.3% C 0.078 H 265.1°. Best body text is #FFFFFF at 17.77:1 contrast (WCAG AA passes).

Color values

HEX#07153C
RGBrgb(7, 21, 60)
HSLhsl(224, 79%, 13%)
HSVhsv(224, 88%, 24%)
CMYKcmyk(88.3%, 65%, 0%, 76.5%)
CIE-LABlab(8.20, 11.19, -26.85)
CIE-LCHlch(8.20, 29.09, 292.62°)
OKLaboklab(21.27% -0.0067 -0.0775)
OKLCHoklch(21.27% 0.078 265.1)
XYZxyz(1.1711, 0.9076, 4.3876)
Luminance0.0091 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#07153C #3C2E07
analogous
#072F3C #07153C #13073C
triadic
#07153C #3C0715 #153C07
tetradic
#07153C #3C072F #3C2E07 #073C13
square
#07153C #3C072F #3C2E07 #073C13
split-complementary
#07153C #3C1307 #2F3C07
monochromatic
#030A1B #030A1B #07153C #0D2873 #143BAA

Accessibility & contrast

On white

17.77
#07153C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#07153C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #07153C
17.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##07153C#FFFFFF#000000##FFFFFF
##07153C1.0017.771.1817.77
#FFFFFF17.771.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3D
Deuteranopia (green-blind)
#00163B
Tritanopia (blue-blind)
#001F25
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #07153c;
/* rgb */ color: rgb(7, 21, 60);
/* oklch */ color: oklch(21.3% 0.078 265.1);
Tailwind
colors: {
  custom: {
    50: '#505172',
    500: '#07153c',
    950: '#000000',
  },
}
SCSS
$custom: #07153c;
$custom-light: #505172;
$custom-dark: #000000;
JSON
{
  "hex": "#07153c",
  "rgb": {
    "r": 7,
    "g": 21,
    "b": 60
  },
  "hsl": {
    "h": 224.151,
    "s": 79.104,
    "l": 13.137
  },
  "oklch": {
    "l": 0.21268,
    "c": 0.07778,
    "h": 265.1
  },
  "luminance": 0.00908
}

Semantic roles & 50–950 ramp

primary
#07153C
secondary
#7B6423
accent
#C232F6
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020208
muted
#78787B

Preview Lab

Preview with #07153C

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

Preview Lab → · Contrast checker → · Palette generator →

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