#1A2D64#1A2D64

#1A2D64 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.6% C 0.100 H 266.4°. Best body text is #FFFFFF at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#1A2D64
RGBrgb(26, 45, 100)
HSLhsl(225, 59%, 25%)
HSVhsv(225, 74%, 39%)
CMYKcmyk(74%, 55%, 0%, 60.8%)
CIE-LABlab(20.11, 13.26, -34.80)
CIE-LCHlch(20.11, 37.24, 290.86°)
OKLaboklab(31.61% -0.0064 -0.1)
OKLCHoklch(31.61% 0.1 266.4)
XYZxyz(3.6638, 3.0161, 12.4432)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2D64 #64511A
analogous
#1A5264 #1A2D64 #2C1A64
triadic
#1A2D64 #641A2D #2D641A
tetradic
#1A2D64 #641A52 #64511A #1A642C
square
#1A2D64 #641A52 #64511A #1A642C
split-complementary
#1A2D64 #642C1A #52641A
monochromatic
#060B18 #0D1733 #1A2D64 #274395 #3359C5

Accessibility & contrast

On white

13.10
#1A2D64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#1A2D64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2D64
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2D64#FFFFFF#000000##FFFFFF
##1A2D641.0013.101.6013.10
#FFFFFF13.101.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A3466
Deuteranopia (green-blind)
#002D63
Tritanopia (blue-blind)
#003A43
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1a2d64;
/* rgb */ color: rgb(26, 45, 100);
/* oklch */ color: oklch(31.6% 0.100 266.4);
Tailwind
colors: {
  custom: {
    50: '#616591',
    500: '#1a2d64',
    950: '#000000',
  },
}
SCSS
$custom: #1a2d64;
$custom-light: #616591;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2d64",
  "rgb": {
    "r": 26,
    "g": 45,
    "b": 100
  },
  "hsl": {
    "h": 224.595,
    "s": 58.73,
    "l": 24.706
  },
  "oklch": {
    "l": 0.31607,
    "c": 0.1002,
    "h": 266.4
  },
  "luminance": 0.03016
}

Semantic roles & 50–950 ramp

primary
#1A2D64
secondary
#9A8340
accent
#BA46E2
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#05050D
muted
#7A7A7D

Preview Lab

Preview with #1A2D64

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

Preview Lab → · Contrast checker → · Palette generator →

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