#1A2B5E#1A2B5E

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

Color values

HEX#1A2B5E
RGBrgb(26, 43, 94)
HSLhsl(225, 57%, 24%)
HSVhsv(225, 72%, 37%)
CMYKcmyk(72.3%, 54.3%, 0%, 63.1%)
CIE-LABlab(19.04, 12.26, -32.59)
CIE-LCHlch(19.04, 34.82, 290.62°)
OKLaboklab(30.65% -0.005 -0.0935)
OKLCHoklch(30.65% 0.094 266.9)
XYZxyz(3.3096, 2.7552, 10.9449)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2B5E #5E4D1A
analogous
#1A4D5E #1A2B5E #2B1A5E
triadic
#1A2B5E #5E1A2B #2B5E1A
tetradic
#1A2B5E #5E1A4D #5E4D1A #1A5E2B
square
#1A2B5E #5E1A4D #5E4D1A #1A5E2B
split-complementary
#1A2B5E #5E2B1A #4D5E1A
monochromatic
#070B18 #0D152E #1A2B5E #27418E #3557BE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1A2B5E#FFFFFF#000000##FFFFFF
##1A2B5E1.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)
#0D3160
Deuteranopia (green-blind)
#002B5D
Tritanopia (blue-blind)
#003740
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1a2b5e;
/* rgb */ color: rgb(26, 43, 94);
/* oklch */ color: oklch(30.6% 0.094 266.9);
Tailwind
colors: {
  custom: {
    50: '#60638c',
    500: '#1a2b5e',
    950: '#000000',
  },
}
SCSS
$custom: #1a2b5e;
$custom-light: #60638c;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2b5e",
  "rgb": {
    "r": 26,
    "g": 43,
    "b": 94
  },
  "hsl": {
    "h": 225,
    "s": 56.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.30646,
    "c": 0.09366,
    "h": 266.9
  },
  "luminance": 0.02756
}

Semantic roles & 50–950 ramp

primary
#1A2B5E
secondary
#947F40
accent
#BA48E0
background
#F5F5F8
surface
#EAEAF0
border
#C6C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #1A2B5E

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

Preview Lab → · Contrast checker → · Palette generator →

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