#1A2D55#1A2D55

#1A2D55 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.4% C 0.076 H 263.4°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#1A2D55
RGBrgb(26, 45, 85)
HSLhsl(221, 53%, 22%)
HSVhsv(221, 69%, 33%)
CMYKcmyk(69.4%, 47.1%, 0%, 66.7%)
CIE-LABlab(19.02, 7.12, -26.63)
CIE-LCHlch(19.02, 27.56, 284.97°)
OKLaboklab(30.43% -0.0088 -0.076)
OKLCHoklch(30.43% 0.076 263.4)
XYZxyz(3.0035, 2.7520, 8.9655)
Luminance0.0275 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2D55 #55421A
analogous
#1A4B55 #1A2D55 #251A55
triadic
#1A2D55 #551A2D #2D551A
tetradic
#1A2D55 #551A4B #55421A #1A5525
square
#1A2D55 #551A4B #55421A #1A5525
split-complementary
#1A2D55 #55251A #4B551A
monochromatic
#070C17 #0C1426 #1A2D55 #284684 #375FB3

Accessibility & contrast

On white

13.54
#1A2D55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#1A2D55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2D55
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2D55#FFFFFF#000000##FFFFFF
##1A2D551.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3157
Deuteranopia (green-blind)
#112C54
Tritanopia (blue-blind)
#00363C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1a2d55;
/* rgb */ color: rgb(26, 45, 85);
/* oklch */ color: oklch(30.4% 0.076 263.4);
Tailwind
colors: {
  custom: {
    50: '#5e6585',
    500: '#1a2d55',
    950: '#000000',
  },
}
SCSS
$custom: #1a2d55;
$custom-light: #5e6585;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2d55",
  "rgb": {
    "r": 26,
    "g": 45,
    "b": 85
  },
  "hsl": {
    "h": 220.678,
    "s": 53.153,
    "l": 21.765
  },
  "oklch": {
    "l": 0.30428,
    "c": 0.07646,
    "h": 263.4
  },
  "luminance": 0.02752
}

Semantic roles & 50–950 ramp

primary
#1A2D55
secondary
#8B7340
accent
#AE4BDD
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#05050B
muted
#797A7C

Preview Lab

Preview with #1A2D55

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

Preview Lab → · Contrast checker → · Palette generator →

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