#1A2E55#1A2E55

#1A2E55 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.7% C 0.075 H 262.4°. Best body text is #FFFFFF at 13.41:1 contrast (WCAG AA passes).

Color values

HEX#1A2E55
RGBrgb(26, 46, 85)
HSLhsl(220, 53%, 22%)
HSVhsv(220, 69%, 33%)
CMYKcmyk(69.4%, 45.9%, 0%, 66.7%)
CIE-LABlab(19.35, 6.40, -26.11)
CIE-LCHlch(19.35, 26.88, 283.76°)
OKLaboklab(30.68% -0.0099 -0.0744)
OKLCHoklch(30.68% 0.075 262.4)
XYZxyz(3.0421, 2.8292, 8.9783)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2E55 #55411A
analogous
#1A4C55 #1A2E55 #241A55
triadic
#1A2E55 #551A2E #2E551A
tetradic
#1A2E55 #551A4C #55411A #1A5524
square
#1A2E55 #551A4C #55411A #1A5524
split-complementary
#1A2E55 #55241A #4C551A
monochromatic
#070D17 #0C1526 #1A2E55 #284784 #3761B3

Accessibility & contrast

On white

13.41
#1A2E55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#1A2E55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2E55
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2E55#FFFFFF#000000##FFFFFF
##1A2E551.0013.411.5713.41
#FFFFFF13.411.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3257
Deuteranopia (green-blind)
#132C54
Tritanopia (blue-blind)
#00373D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1a2e55;
/* rgb */ color: rgb(26, 46, 85);
/* oklch */ color: oklch(30.7% 0.075 262.4);
Tailwind
colors: {
  custom: {
    50: '#5e6685',
    500: '#1a2e55',
    950: '#000000',
  },
}
SCSS
$custom: #1a2e55;
$custom-light: #5e6685;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2e55",
  "rgb": {
    "r": 26,
    "g": 46,
    "b": 85
  },
  "hsl": {
    "h": 219.661,
    "s": 53.153,
    "l": 21.765
  },
  "oklch": {
    "l": 0.30678,
    "c": 0.07509,
    "h": 262.4
  },
  "luminance": 0.02829
}

Semantic roles & 50–950 ramp

primary
#1A2E55
secondary
#8B7240
accent
#AB4BDD
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#05050B
muted
#797A7C

Preview Lab

Preview with #1A2E55

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

Preview Lab → · Contrast checker → · Palette generator →

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