#1A2D6B#1A2D6B

#1A2D6B is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.2% C 0.111 H 267.0°. Best body text is #FFFFFF at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#1A2D6B
RGBrgb(26, 45, 107)
HSLhsl(226, 61%, 26%)
HSVhsv(226, 76%, 42%)
CMYKcmyk(75.7%, 57.9%, 0%, 58%)
CIE-LABlab(20.66, 16.13, -38.46)
CIE-LCHlch(20.66, 41.71, 292.76°)
OKLaboklab(32.2% -0.0057 -0.1108)
OKLCHoklch(32.2% 0.111 267)
XYZxyz(4.0173, 3.1575, 14.3048)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2D6B #6B581A
analogous
#1A556B #1A2D6B #2F1A6B
triadic
#1A2D6B #6B1A2D #2D6B1A
tetradic
#1A2D6B #6B1A55 #6B581A #1A6B2F
square
#1A2D6B #6B1A55 #6B581A #1A6B2F
split-complementary
#1A2D6B #6B2F1A #556B1A
monochromatic
#060A19 #0E183A #1A2D6B #26429C #3257CD

Accessibility & contrast

On white

12.87
#1A2D6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#1A2D6B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2D6B
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2D6B#FFFFFF#000000##FFFFFF
##1A2D6B1.0012.871.6312.87
#FFFFFF12.871.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00366D
Deuteranopia (green-blind)
#002E6A
Tritanopia (blue-blind)
#003C47
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1a2d6b;
/* rgb */ color: rgb(26, 45, 107);
/* oklch */ color: oklch(32.2% 0.111 267.0);
Tailwind
colors: {
  custom: {
    50: '#636596',
    500: '#1a2d6b',
    950: '#000000',
  },
}
SCSS
$custom: #1a2d6b;
$custom-light: #636596;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2d6b",
  "rgb": {
    "r": 26,
    "g": 45,
    "b": 107
  },
  "hsl": {
    "h": 225.926,
    "s": 60.902,
    "l": 26.078
  },
  "oklch": {
    "l": 0.32203,
    "c": 0.11091,
    "h": 267
  },
  "luminance": 0.03158
}

Semantic roles & 50–950 ramp

primary
#1A2D6B
secondary
#A08A40
accent
#BE44E4
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050D
muted
#7A7A7E

Preview Lab

Preview with #1A2D6B

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

Preview Lab → · Contrast checker → · Palette generator →

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