#1A2E56#1A2E56

#1A2E56 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.8% C 0.077 H 262.7°. Best body text is #FFFFFF at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#1A2E56
RGBrgb(26, 46, 86)
HSLhsl(220, 54%, 22%)
HSVhsv(220, 70%, 34%)
CMYKcmyk(69.8%, 46.5%, 0%, 66.3%)
CIE-LABlab(19.41, 6.80, -26.67)
CIE-LCHlch(19.41, 27.52, 284.31°)
OKLaboklab(30.75% -0.0097 -0.0761)
OKLCHoklch(30.75% 0.077 262.7)
XYZxyz(3.0821, 2.8452, 9.1890)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2E56 #56421A
analogous
#1A4C56 #1A2E56 #241A56
triadic
#1A2E56 #561A2E #2E561A
tetradic
#1A2E56 #561A4C #56421A #1A5624
square
#1A2E56 #561A4C #56421A #1A5624
split-complementary
#1A2E56 #56241A #4C561A
monochromatic
#070D17 #0C1527 #1A2E56 #284785 #3660B4

Accessibility & contrast

On white

13.38
#1A2E56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A2E56
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2E56#FFFFFF#000000##FFFFFF
##1A2E561.0013.381.5713.38
#FFFFFF13.381.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3258
Deuteranopia (green-blind)
#122C55
Tritanopia (blue-blind)
#00373D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1a2e56;
/* rgb */ color: rgb(26, 46, 86);
/* oklch */ color: oklch(30.8% 0.077 262.7);
Tailwind
colors: {
  custom: {
    50: '#5e6686',
    500: '#1a2e56',
    950: '#000000',
  },
}
SCSS
$custom: #1a2e56;
$custom-light: #5e6686;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2e56",
  "rgb": {
    "r": 26,
    "g": 46,
    "b": 86
  },
  "hsl": {
    "h": 220,
    "s": 53.571,
    "l": 21.961
  },
  "oklch": {
    "l": 0.30751,
    "c": 0.07669,
    "h": 262.7
  },
  "luminance": 0.02845
}

Semantic roles & 50–950 ramp

primary
#1A2E56
secondary
#8C7340
accent
#AC4BDD
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#05050B
muted
#797A7C

Preview Lab

Preview with #1A2E56

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

Preview Lab → · Contrast checker → · Palette generator →

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