#1A2E7D#1A2E7D

#1A2E7D is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.1% C 0.136 H 267.5°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#1A2E7D
RGBrgb(26, 46, 125)
HSLhsl(228, 66%, 30%)
HSVhsv(228, 79%, 49%)
CMYKcmyk(79.2%, 63.2%, 0%, 51%)
CIE-LABlab(22.49, 22.72, -47.01)
CIE-LCHlch(22.49, 52.21, 295.79°)
OKLaboklab(34.05% -0.0059 -0.1359)
OKLCHoklch(34.05% 0.136 267.5)
XYZxyz(5.1034, 3.6537, 19.8343)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2E7D #7D691A
analogous
#1A607D #1A2E7D #381A7D
triadic
#1A2E7D #7D1A2E #2E7D1A
tetradic
#1A2E7D #7D1A60 #7D691A #1A7D38
square
#1A2E7D #7D1A60 #7D691A #1A7D38
split-complementary
#1A2E7D #7D381A #607D1A
monochromatic
#050919 #0F1B4A #1A2E7D #2541B0 #3B5AD6

Accessibility & contrast

On white

12.13
#1A2E7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#1A2E7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2E7D
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2E7D#FFFFFF#000000##FFFFFF
##1A2E7D1.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A80
Deuteranopia (green-blind)
#00317B
Tritanopia (blue-blind)
#004251
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1a2e7d;
/* rgb */ color: rgb(26, 46, 125);
/* oklch */ color: oklch(34.1% 0.136 267.5);
Tailwind
colors: {
  custom: {
    50: '#6866a3',
    500: '#1a2e7d',
    950: '#000000',
  },
}
SCSS
$custom: #1a2e7d;
$custom-light: #6866a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2e7d",
  "rgb": {
    "r": 26,
    "g": 46,
    "b": 125
  },
  "hsl": {
    "h": 227.879,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.34052,
    "c": 0.13599,
    "h": 267.5
  },
  "luminance": 0.03654
}

Semantic roles & 50–950 ramp

primary
#1A2E7D
secondary
#B19B42
accent
#C63FE9
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1A2E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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