#1A2E4D#1A2E4D

#1A2E4D is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.1% C 0.062 H 258.9°. Best body text is #FFFFFF at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#1A2E4D
RGBrgb(26, 46, 77)
HSLhsl(216, 50%, 20%)
HSVhsv(216, 66%, 30%)
CMYKcmyk(66.2%, 40.3%, 0%, 69.8%)
CIE-LABlab(18.84, 3.18, -21.54)
CIE-LCHlch(18.84, 21.78, 278.40°)
OKLaboklab(30.12% -0.012 -0.061)
OKLCHoklch(30.12% 0.062 258.9)
XYZxyz(2.7421, 2.7092, 7.3982)
Luminance0.0271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2E4D #4D391A
analogous
#1A474D #1A2E4D #201A4D
triadic
#1A2E4D #4D1A2E #2E4D1A
tetradic
#1A2E4D #4D1A47 #4D391A #1A4D20
square
#1A2E4D #4D1A47 #4D391A #1A4D20
split-complementary
#1A2E4D #4D201A #474D1A
monochromatic
#080E17 #0B131F #1A2E4D #29497B #3965A9

Accessibility & contrast

On white

13.62
#1A2E4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#1A2E4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2E4D
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2E4D#FFFFFF#000000##FFFFFF
##1A2E4D1.0013.621.5413.62
#FFFFFF13.621.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21304E
Deuteranopia (green-blind)
#1A2C4C
Tritanopia (blue-blind)
#003539
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1a2e4d;
/* rgb */ color: rgb(26, 46, 77);
/* oklch */ color: oklch(30.1% 0.062 258.9);
Tailwind
colors: {
  custom: {
    50: '#5c667f',
    500: '#1a2e4d',
    950: '#000000',
  },
}
SCSS
$custom: #1a2e4d;
$custom-light: #5c667f;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2e4d",
  "rgb": {
    "r": 26,
    "g": 46,
    "b": 77
  },
  "hsl": {
    "h": 216.471,
    "s": 49.515,
    "l": 20.196
  },
  "oklch": {
    "l": 0.3012,
    "c": 0.06222,
    "h": 258.9
  },
  "luminance": 0.02709
}

Semantic roles & 50–950 ramp

primary
#1A2E4D
secondary
#836940
accent
#A34FD9
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04050A
muted
#797A7C

Preview Lab

Preview with #1A2E4D

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

Preview Lab → · Contrast checker → · Palette generator →

#1A2E4D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva