#071241#071241

#071241 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.1% C 0.090 H 267.2°. Best body text is #FFFFFF at 17.92:1 contrast (WCAG AA passes).

Color values

HEX#071241
RGBrgb(7, 18, 65)
HSLhsl(229, 81%, 14%)
HSVhsv(229, 89%, 25%)
CMYKcmyk(89.2%, 72.3%, 0%, 74.5%)
CIE-LABlab(7.76, 15.84, -31.12)
CIE-LCHlch(7.76, 34.92, 296.97°)
OKLaboklab(21.1% -0.0043 -0.0901)
OKLCHoklch(21.1% 0.09 267.2)
XYZxyz(1.2577, 0.8593, 5.0996)
Luminance0.0086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#071241 #413607
analogous
#072F41 #071241 #190741
triadic
#071241 #410712 #124107
tetradic
#071241 #41072F #413607 #074119
square
#071241 #41072F #413607 #074119
split-complementary
#071241 #411907 #2F4107
monochromatic
#03081C #03081C #071241 #0D2178 #1331B0

Accessibility & contrast

On white

17.92
#071241 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#071241 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #071241
17.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##071241#FFFFFF#000000##FFFFFF
##0712411.0017.921.1717.92
#FFFFFF17.921.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A43
Deuteranopia (green-blind)
#001440
Tritanopia (blue-blind)
#001E27
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #071241;
/* rgb */ color: rgb(7, 18, 65);
/* oklch */ color: oklch(21.1% 0.090 267.2);
Tailwind
colors: {
  custom: {
    50: '#524f76',
    500: '#071241',
    950: '#000000',
  },
}
SCSS
$custom: #071241;
$custom-light: #524f76;
$custom-dark: #000000;
JSON
{
  "hex": "#071241",
  "rgb": {
    "r": 7,
    "g": 18,
    "b": 65
  },
  "hsl": {
    "h": 228.621,
    "s": 80.556,
    "l": 14.118
  },
  "oklch": {
    "l": 0.21098,
    "c": 0.09018,
    "h": 267.2
  },
  "luminance": 0.00859
}

Semantic roles & 50–950 ramp

primary
#071241
secondary
#806F24
accent
#D131F7
background
#F5F4F7
surface
#E8E7ED
border
#C4C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #071241

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

Preview Lab → · Contrast checker → · Palette generator →

#071241 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva