#1A2D71#1A2D71

#1A2D71 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.7% C 0.120 H 267.4°. Best body text is #FFFFFF at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#1A2D71
RGBrgb(26, 45, 113)
HSLhsl(227, 63%, 27%)
HSVhsv(227, 77%, 44%)
CMYKcmyk(77%, 60.2%, 0%, 55.7%)
CIE-LABlab(21.16, 18.58, -41.52)
CIE-LCHlch(21.16, 45.49, 294.11°)
OKLaboklab(32.74% -0.0054 -0.1198)
OKLCHoklch(32.74% 0.12 267.4)
XYZxyz(4.3440, 3.2882, 16.0253)
Luminance0.0329 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2D71 #715E1A
analogous
#1A5871 #1A2D71 #331A71
triadic
#1A2D71 #711A2D #2D711A
tetradic
#1A2D71 #711A58 #715E1A #1A7133
square
#1A2D71 #711A58 #715E1A #1A7133
split-complementary
#1A2D71 #71331A #58711A
monochromatic
#060A19 #0F193F #1A2D71 #2541A3 #3557D0

Accessibility & contrast

On white

12.67
#1A2D71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#1A2D71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2D71
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2D71#FFFFFF#000000##FFFFFF
##1A2D711.0012.671.6612.67
#FFFFFF12.671.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003773
Deuteranopia (green-blind)
#002F70
Tritanopia (blue-blind)
#003E4A
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1a2d71;
/* rgb */ color: rgb(26, 45, 113);
/* oklch */ color: oklch(32.7% 0.120 267.4);
Tailwind
colors: {
  custom: {
    50: '#64659a',
    500: '#1a2d71',
    950: '#000000',
  },
}
SCSS
$custom: #1a2d71;
$custom-light: #64659a;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2d71",
  "rgb": {
    "r": 26,
    "g": 45,
    "b": 113
  },
  "hsl": {
    "h": 226.897,
    "s": 62.59,
    "l": 27.255
  },
  "oklch": {
    "l": 0.32735,
    "c": 0.11989,
    "h": 267.4
  },
  "luminance": 0.03289
}

Semantic roles & 50–950 ramp

primary
#1A2D71
secondary
#A69041
accent
#C242E6
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #1A2D71

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

Preview Lab → · Contrast checker → · Palette generator →

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