#1A2A64#1A2A64

#1A2A64 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.9% C 0.104 H 268.1°. Best body text is #FFFFFF at 13.47:1 contrast (WCAG AA passes).

Color values

HEX#1A2A64
RGBrgb(26, 42, 100)
HSLhsl(227, 59%, 25%)
HSVhsv(227, 74%, 39%)
CMYKcmyk(74%, 58%, 0%, 60.8%)
CIE-LABlab(19.20, 15.44, -36.26)
CIE-LCHlch(19.20, 39.41, 293.07°)
OKLaboklab(30.92% -0.0035 -0.1043)
OKLCHoklch(30.92% 0.104 268.1)
XYZxyz(3.5534, 2.7953, 12.4064)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2A64 #64541A
analogous
#1A4F64 #1A2A64 #2F1A64
triadic
#1A2A64 #641A2A #2A641A
tetradic
#1A2A64 #641A4F #64541A #1A642F
square
#1A2A64 #641A4F #64541A #1A642F
split-complementary
#1A2A64 #642F1A #4F641A
monochromatic
#060A18 #0D1633 #1A2A64 #273E95 #3353C5

Accessibility & contrast

On white

13.47
#1A2A64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#1A2A64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2A64
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2A64#FFFFFF#000000##FFFFFF
##1A2A641.0013.471.5613.47
#FFFFFF13.471.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003266
Deuteranopia (green-blind)
#002B63
Tritanopia (blue-blind)
#003842
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1a2a64;
/* rgb */ color: rgb(26, 42, 100);
/* oklch */ color: oklch(30.9% 0.104 268.1);
Tailwind
colors: {
  custom: {
    50: '#616391',
    500: '#1a2a64',
    950: '#000000',
  },
}
SCSS
$custom: #1a2a64;
$custom-light: #616391;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2a64",
  "rgb": {
    "r": 26,
    "g": 42,
    "b": 100
  },
  "hsl": {
    "h": 227.027,
    "s": 58.73,
    "l": 24.706
  },
  "oklch": {
    "l": 0.30924,
    "c": 0.10441,
    "h": 268.1
  },
  "luminance": 0.02796
}

Semantic roles & 50–950 ramp

primary
#1A2A64
secondary
#9A8640
accent
#C046E2
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#05050D
muted
#7A797D

Preview Lab

Preview with #1A2A64

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

Preview Lab → · Contrast checker → · Palette generator →

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