#1A2D4F#1A2D4F

#1A2D4F is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.0% C 0.067 H 261.2°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#1A2D4F
RGBrgb(26, 45, 79)
HSLhsl(218, 50%, 21%)
HSVhsv(218, 67%, 31%)
CMYKcmyk(67.1%, 43%, 0%, 69%)
CIE-LABlab(18.63, 4.70, -23.22)
CIE-LCHlch(18.63, 23.69, 281.43°)
OKLaboklab(30% -0.0102 -0.066)
OKLCHoklch(30% 0.067 261.2)
XYZxyz(2.7752, 2.6607, 7.7629)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2D4F #4F3C1A
analogous
#1A474F #1A2D4F #221A4F
triadic
#1A2D4F #4F1A2D #2D4F1A
tetradic
#1A2D4F #4F1A47 #4F3C1A #1A4F22
square
#1A2D4F #4F1A47 #4F3C1A #1A4F22
split-complementary
#1A2D4F #4F221A #474F1A
monochromatic
#080D17 #0B1321 #1A2D4F #29477D #3861AB

Accessibility & contrast

On white

13.71
#1A2D4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A2D4F
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2D4F#FFFFFF#000000##FFFFFF
##1A2D4F1.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3050
Deuteranopia (green-blind)
#172B4E
Tritanopia (blue-blind)
#00353A
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1a2d4f;
/* rgb */ color: rgb(26, 45, 79);
/* oklch */ color: oklch(30.0% 0.067 261.2);
Tailwind
colors: {
  custom: {
    50: '#5c6580',
    500: '#1a2d4f',
    950: '#000000',
  },
}
SCSS
$custom: #1a2d4f;
$custom-light: #5c6580;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2d4f",
  "rgb": {
    "r": 26,
    "g": 45,
    "b": 79
  },
  "hsl": {
    "h": 218.491,
    "s": 50.476,
    "l": 20.588
  },
  "oklch": {
    "l": 0.29998,
    "c": 0.06676,
    "h": 261.2
  },
  "luminance": 0.02661
}

Semantic roles & 50–950 ramp

primary
#1A2D4F
secondary
#856C40
accent
#A84EDA
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04050A
muted
#797A7C

Preview Lab

Preview with #1A2D4F

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

Preview Lab → · Contrast checker → · Palette generator →

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