#1A2D66#1A2D66

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

Color values

HEX#1A2D66
RGBrgb(26, 45, 102)
HSLhsl(225, 59%, 25%)
HSVhsv(225, 75%, 40%)
CMYKcmyk(74.5%, 55.9%, 0%, 60%)
CIE-LABlab(20.26, 14.08, -35.86)
CIE-LCHlch(20.26, 38.52, 291.45°)
OKLaboklab(31.77% -0.0062 -0.1031)
OKLCHoklch(31.77% 0.103 266.6)
XYZxyz(3.7618, 3.0553, 12.9593)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2D66 #66531A
analogous
#1A5366 #1A2D66 #2D1A66
triadic
#1A2D66 #661A2D #2D661A
tetradic
#1A2D66 #661A53 #66531A #1A662D
square
#1A2D66 #661A53 #66531A #1A662D
split-complementary
#1A2D66 #662D1A #53661A
monochromatic
#060B18 #0E1735 #1A2D66 #264397 #3358C8

Accessibility & contrast

On white

13.03
#1A2D66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#1A2D66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2D66
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2D66#FFFFFF#000000##FFFFFF
##1A2D661.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#073568
Deuteranopia (green-blind)
#002E65
Tritanopia (blue-blind)
#003B44
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1a2d66;
/* rgb */ color: rgb(26, 45, 102);
/* oklch */ color: oklch(31.8% 0.103 266.6);
Tailwind
colors: {
  custom: {
    50: '#626592',
    500: '#1a2d66',
    950: '#000000',
  },
}
SCSS
$custom: #1a2d66;
$custom-light: #626592;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2d66",
  "rgb": {
    "r": 26,
    "g": 45,
    "b": 102
  },
  "hsl": {
    "h": 225,
    "s": 59.375,
    "l": 25.098
  },
  "oklch": {
    "l": 0.31774,
    "c": 0.10328,
    "h": 266.6
  },
  "luminance": 0.03056
}

Semantic roles & 50–950 ramp

primary
#1A2D66
secondary
#9C8540
accent
#BB45E3
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06050D
muted
#7A7A7E

Preview Lab

Preview with #1A2D66

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

Preview Lab → · Contrast checker → · Palette generator →

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