#051741#051741

#051741 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.1% C 0.084 H 263.0°. Best body text is #FFFFFF at 17.42:1 contrast (WCAG AA passes).

Color values

HEX#051741
RGBrgb(5, 23, 65)
HSLhsl(222, 86%, 14%)
HSVhsv(222, 92%, 25%)
CMYKcmyk(92.3%, 64.6%, 0%, 74.5%)
CIE-LABlab(9.21, 11.60, -28.76)
CIE-LCHlch(9.21, 31.01, 291.97°)
OKLaboklab(22.15% -0.0102 -0.0831)
OKLCHoklch(22.15% 0.084 263)
XYZxyz(1.3228, 1.0265, 5.1284)
Luminance0.0103 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#051741 #412F05
analogous
#053541 #051741 #110541
triadic
#051741 #410517 #174105
tetradic
#051741 #410535 #412F05 #054111
square
#051741 #410535 #412F05 #054111
split-complementary
#051741 #411105 #354105
monochromatic
#020A1C #020A1C #051741 #092B7A #0E3FB3

Accessibility & contrast

On white

17.42
#051741 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#051741 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #051741
17.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##051741#FFFFFF#000000##FFFFFF
##0517411.0017.421.2117.42
#FFFFFF17.421.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D42
Deuteranopia (green-blind)
#001740
Tritanopia (blue-blind)
#002229
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #051741;
/* rgb */ color: rgb(5, 23, 65);
/* oklch */ color: oklch(22.1% 0.084 263.0);
Tailwind
colors: {
  custom: {
    50: '#515376',
    500: '#051741',
    950: '#000000',
  },
}
SCSS
$custom: #051741;
$custom-light: #515376;
$custom-dark: #000000;
JSON
{
  "hex": "#051741",
  "rgb": {
    "r": 5,
    "g": 23,
    "b": 65
  },
  "hsl": {
    "h": 222,
    "s": 85.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.22148,
    "c": 0.08373,
    "h": 263
  },
  "luminance": 0.01027
}

Semantic roles & 50–950 ramp

primary
#051741
secondary
#816420
accent
#BE2CFC
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#020208
muted
#78787B

Preview Lab

Preview with #051741

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

Preview Lab → · Contrast checker → · Palette generator →

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