#1A2B4F#1A2B4F

#1A2B4F is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.5% C 0.070 H 263.6°. Best body text is #FFFFFF at 13.98:1 contrast (WCAG AA passes).

Color values

HEX#1A2B4F
RGBrgb(26, 43, 79)
HSLhsl(221, 50%, 21%)
HSVhsv(221, 67%, 31%)
CMYKcmyk(67.1%, 45.6%, 0%, 69%)
CIE-LABlab(17.97, 6.15, -24.27)
CIE-LCHlch(17.97, 25.04, 284.21°)
OKLaboklab(29.49% -0.0077 -0.0691)
OKLCHoklch(29.49% 0.07 263.6)
XYZxyz(2.7007, 2.5116, 7.7381)
Luminance0.0251 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2B4F #4F3E1A
analogous
#1A454F #1A2B4F #231A4F
triadic
#1A2B4F #4F1A2B #2B4F1A
tetradic
#1A2B4F #4F1A45 #4F3E1A #1A4F23
square
#1A2B4F #4F1A45 #4F3E1A #1A4F23
split-complementary
#1A2B4F #4F231A #454F1A
monochromatic
#080D17 #0B1221 #1A2B4F #29447D #385DAB

Accessibility & contrast

On white

13.98
#1A2B4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#1A2B4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2B4F
13.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2B4F#FFFFFF#000000##FFFFFF
##1A2B4F1.0013.981.5013.98
#FFFFFF13.981.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2F50
Deuteranopia (green-blind)
#142A4E
Tritanopia (blue-blind)
#003339
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1a2b4f;
/* rgb */ color: rgb(26, 43, 79);
/* oklch */ color: oklch(29.5% 0.070 263.6);
Tailwind
colors: {
  custom: {
    50: '#5c6380',
    500: '#1a2b4f',
    950: '#000000',
  },
}
SCSS
$custom: #1a2b4f;
$custom-light: #5c6380;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2b4f",
  "rgb": {
    "r": 26,
    "g": 43,
    "b": 79
  },
  "hsl": {
    "h": 220.755,
    "s": 50.476,
    "l": 20.588
  },
  "oklch": {
    "l": 0.29489,
    "c": 0.06951,
    "h": 263.6
  },
  "luminance": 0.02512
}

Semantic roles & 50–950 ramp

primary
#1A2B4F
secondary
#856F40
accent
#AD4EDA
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#04050A
muted
#79797C

Preview Lab

Preview with #1A2B4F

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

Preview Lab → · Contrast checker → · Palette generator →

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