#1A2B5D#1A2B5D

#1A2B5D is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.6% C 0.092 H 266.8°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#1A2B5D
RGBrgb(26, 43, 93)
HSLhsl(225, 56%, 23%)
HSVhsv(225, 72%, 36%)
CMYKcmyk(72%, 53.8%, 0%, 63.5%)
CIE-LABlab(18.96, 11.85, -32.05)
CIE-LCHlch(18.96, 34.17, 290.29°)
OKLaboklab(30.56% -0.0052 -0.0919)
OKLCHoklch(30.56% 0.092 266.8)
XYZxyz(3.2650, 2.7374, 10.7101)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2B5D #5D4C1A
analogous
#1A4C5D #1A2B5D #2A1A5D
triadic
#1A2B5D #5D1A2B #2B5D1A
tetradic
#1A2B5D #5D1A4C #5D4C1A #1A5D2A
square
#1A2B5D #5D1A4C #5D4C1A #1A5D2A
split-complementary
#1A2B5D #5D2A1A #4C5D1A
monochromatic
#070B18 #0D152D #1A2B5D #27418D #3557BD

Accessibility & contrast

On white

13.57
#1A2B5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A2B5D
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2B5D#FFFFFF#000000##FFFFFF
##1A2B5D1.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E315F
Deuteranopia (green-blind)
#002B5C
Tritanopia (blue-blind)
#00373F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1a2b5d;
/* rgb */ color: rgb(26, 43, 93);
/* oklch */ color: oklch(30.6% 0.092 266.8);
Tailwind
colors: {
  custom: {
    50: '#60638b',
    500: '#1a2b5d',
    950: '#000000',
  },
}
SCSS
$custom: #1a2b5d;
$custom-light: #60638b;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2b5d",
  "rgb": {
    "r": 26,
    "g": 43,
    "b": 93
  },
  "hsl": {
    "h": 224.776,
    "s": 56.303,
    "l": 23.333
  },
  "oklch": {
    "l": 0.30564,
    "c": 0.09208,
    "h": 266.8
  },
  "luminance": 0.02738
}

Semantic roles & 50–950 ramp

primary
#1A2B5D
secondary
#937E40
accent
#B948E0
background
#F5F5F8
surface
#EAEAF0
border
#C6C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #1A2B5D

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

Preview Lab → · Contrast checker → · Palette generator →

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