#1A2E7E#1A2E7E

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

Color values

HEX#1A2E7E
RGBrgb(26, 46, 126)
HSLhsl(228, 66%, 30%)
HSVhsv(228, 79%, 49%)
CMYKcmyk(79.4%, 63.5%, 0%, 50.6%)
CIE-LABlab(22.58, 23.12, -47.49)
CIE-LCHlch(22.58, 52.82, 295.95°)
OKLaboklab(34.15% -0.0059 -0.1373)
OKLCHoklch(34.15% 0.137 267.5)
XYZxyz(5.1676, 3.6794, 20.1725)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2E7E #7E6A1A
analogous
#1A607E #1A2E7E #381A7E
triadic
#1A2E7E #7E1A2E #2E7E1A
tetradic
#1A2E7E #7E1A60 #7E6A1A #1A7E38
square
#1A2E7E #7E1A60 #7E6A1A #1A7E38
split-complementary
#1A2E7E #7E381A #607E1A
monochromatic
#050919 #101B4B #1A2E7E #2441B1 #3C5BD7

Accessibility & contrast

On white

12.10
#1A2E7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#1A2E7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2E7E
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2E7E#FFFFFF#000000##FFFFFF
##1A2E7E1.0012.101.7412.10
#FFFFFF12.101.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B81
Deuteranopia (green-blind)
#00317C
Tritanopia (blue-blind)
#004351
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1a2e7e;
/* rgb */ color: rgb(26, 46, 126);
/* oklch */ color: oklch(34.1% 0.137 267.5);
Tailwind
colors: {
  custom: {
    50: '#6866a4',
    500: '#1a2e7e',
    950: '#000000',
  },
}
SCSS
$custom: #1a2e7e;
$custom-light: #6866a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2e7e",
  "rgb": {
    "r": 26,
    "g": 46,
    "b": 126
  },
  "hsl": {
    "h": 228,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.34147,
    "c": 0.13742,
    "h": 267.5
  },
  "luminance": 0.0368
}

Semantic roles & 50–950 ramp

primary
#1A2E7E
secondary
#B29C42
accent
#C73FE9
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1A2E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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