#1A2D4E#1A2D4E

#1A2D4E is a dark, moderate blue. Relative luminance 0.026; OKLCH L 29.9% C 0.065 H 260.8°. Best body text is #FFFFFF at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#1A2D4E
RGBrgb(26, 45, 78)
HSLhsl(218, 50%, 20%)
HSVhsv(218, 67%, 31%)
CMYKcmyk(66.7%, 42.3%, 0%, 69.4%)
CIE-LABlab(18.57, 4.30, -22.65)
CIE-LCHlch(18.57, 23.05, 280.74°)
OKLaboklab(29.93% -0.0105 -0.0643)
OKLCHoklch(29.93% 0.065 260.8)
XYZxyz(2.7391, 2.6462, 7.5727)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2D4E #4E3B1A
analogous
#1A474E #1A2D4E #211A4E
triadic
#1A2D4E #4E1A2D #2D4E1A
tetradic
#1A2D4E #4E1A47 #4E3B1A #1A4E21
square
#1A2D4E #4E1A47 #4E3B1A #1A4E21
split-complementary
#1A2D4E #4E211A #474E1A
monochromatic
#080D17 #0B1320 #1A2D4E #29477C #3962AA

Accessibility & contrast

On white

13.73
#1A2D4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#1A2D4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2D4E
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2D4E#FFFFFF#000000##FFFFFF
##1A2D4E1.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F304F
Deuteranopia (green-blind)
#182B4D
Tritanopia (blue-blind)
#003439
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1a2d4e;
/* rgb */ color: rgb(26, 45, 78);
/* oklch */ color: oklch(29.9% 0.065 260.8);
Tailwind
colors: {
  custom: {
    50: '#5c6580',
    500: '#1a2d4e',
    950: '#000000',
  },
}
SCSS
$custom: #1a2d4e;
$custom-light: #5c6580;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2d4e",
  "rgb": {
    "r": 26,
    "g": 45,
    "b": 78
  },
  "hsl": {
    "h": 218.077,
    "s": 50,
    "l": 20.392
  },
  "oklch": {
    "l": 0.29929,
    "c": 0.06515,
    "h": 260.8
  },
  "luminance": 0.02646
}

Semantic roles & 50–950 ramp

primary
#1A2D4E
secondary
#846B40
accent
#A74EDA
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04050A
muted
#797A7C

Preview Lab

Preview with #1A2D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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