#1A2D6E#1A2D6E

#1A2D6E is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.5% C 0.115 H 267.2°. Best body text is #FFFFFF at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#1A2D6E
RGBrgb(26, 45, 110)
HSLhsl(226, 62%, 27%)
HSVhsv(226, 76%, 43%)
CMYKcmyk(76.4%, 59.1%, 0%, 56.9%)
CIE-LABlab(20.91, 17.36, -40.00)
CIE-LCHlch(20.91, 43.60, 293.46°)
OKLaboklab(32.47% -0.0055 -0.1153)
OKLCHoklch(32.47% 0.115 267.2)
XYZxyz(4.1779, 3.2217, 15.1505)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2D6E #6E5B1A
analogous
#1A576E #1A2D6E #311A6E
triadic
#1A2D6E #6E1A2D #2D6E1A
tetradic
#1A2D6E #6E1A57 #6E5B1A #1A6E31
square
#1A2D6E #6E1A57 #6E5B1A #1A6E31
split-complementary
#1A2D6E #6E311A #576E1A
monochromatic
#060A19 #0E193D #1A2D6E #2641A0 #3457CF

Accessibility & contrast

On white

12.77
#1A2D6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#1A2D6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2D6E
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2D6E#FFFFFF#000000##FFFFFF
##1A2D6E1.0012.771.6412.77
#FFFFFF12.771.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003670
Deuteranopia (green-blind)
#002F6D
Tritanopia (blue-blind)
#003D48
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1a2d6e;
/* rgb */ color: rgb(26, 45, 110);
/* oklch */ color: oklch(32.5% 0.115 267.2);
Tailwind
colors: {
  custom: {
    50: '#646598',
    500: '#1a2d6e',
    950: '#000000',
  },
}
SCSS
$custom: #1a2d6e;
$custom-light: #646598;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2d6e",
  "rgb": {
    "r": 26,
    "g": 45,
    "b": 110
  },
  "hsl": {
    "h": 226.429,
    "s": 61.765,
    "l": 26.667
  },
  "oklch": {
    "l": 0.32467,
    "c": 0.11542,
    "h": 267.2
  },
  "luminance": 0.03222
}

Semantic roles & 50–950 ramp

primary
#1A2D6E
secondary
#A38D41
accent
#C043E5
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #1A2D6E

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

Preview Lab → · Contrast checker → · Palette generator →

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