#1A2E64#1A2E64

#1A2E64 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.8% C 0.099 H 265.7°. Best body text is #FFFFFF at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#1A2E64
RGBrgb(26, 46, 100)
HSLhsl(224, 59%, 25%)
HSVhsv(224, 74%, 39%)
CMYKcmyk(74%, 54%, 0%, 60.8%)
CIE-LABlab(20.41, 12.54, -34.31)
CIE-LCHlch(20.41, 36.53, 290.07°)
OKLaboklab(31.84% -0.0073 -0.0985)
OKLCHoklch(31.84% 0.099 265.7)
XYZxyz(3.7024, 3.0933, 12.4561)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2E64 #64501A
analogous
#1A5364 #1A2E64 #2B1A64
triadic
#1A2E64 #641A2E #2E641A
tetradic
#1A2E64 #641A53 #64501A #1A642B
square
#1A2E64 #641A53 #64501A #1A642B
split-complementary
#1A2E64 #642B1A #53641A
monochromatic
#060B18 #0D1833 #1A2E64 #274495 #335BC5

Accessibility & contrast

On white

12.97
#1A2E64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#1A2E64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2E64
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2E64#FFFFFF#000000##FFFFFF
##1A2E641.0012.971.6212.97
#FFFFFF12.971.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E3566
Deuteranopia (green-blind)
#002E63
Tritanopia (blue-blind)
#003B44
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1a2e64;
/* rgb */ color: rgb(26, 46, 100);
/* oklch */ color: oklch(31.8% 0.099 265.7);
Tailwind
colors: {
  custom: {
    50: '#616691',
    500: '#1a2e64',
    950: '#000000',
  },
}
SCSS
$custom: #1a2e64;
$custom-light: #616691;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2e64",
  "rgb": {
    "r": 26,
    "g": 46,
    "b": 100
  },
  "hsl": {
    "h": 223.784,
    "s": 58.73,
    "l": 24.706
  },
  "oklch": {
    "l": 0.31839,
    "c": 0.0988,
    "h": 265.7
  },
  "luminance": 0.03094
}

Semantic roles & 50–950 ramp

primary
#1A2E64
secondary
#9A8140
accent
#B846E2
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#05050D
muted
#7A7A7D

Preview Lab

Preview with #1A2E64

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

Preview Lab → · Contrast checker → · Palette generator →

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