#1A2D6F#1A2D6F

#1A2D6F is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.6% C 0.117 H 267.3°. Best body text is #FFFFFF at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#1A2D6F
RGBrgb(26, 45, 111)
HSLhsl(227, 62%, 27%)
HSVhsv(227, 77%, 44%)
CMYKcmyk(76.6%, 59.5%, 0%, 56.5%)
CIE-LABlab(20.99, 17.77, -40.51)
CIE-LCHlch(20.99, 44.23, 293.68°)
OKLaboklab(32.56% -0.0055 -0.1168)
OKLCHoklch(32.56% 0.117 267.3)
XYZxyz(4.2326, 3.2436, 15.4389)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2D6F #6F5C1A
analogous
#1A586F #1A2D6F #321A6F
triadic
#1A2D6F #6F1A2D #2D6F1A
tetradic
#1A2D6F #6F1A58 #6F5C1A #1A6F32
square
#1A2D6F #6F1A58 #6F5C1A #1A6F32
split-complementary
#1A2D6F #6F321A #586F1A
monochromatic
#060A19 #0E193D #1A2D6F #2641A1 #3457CF

Accessibility & contrast

On white

12.74
#1A2D6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#1A2D6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2D6F
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2D6F#FFFFFF#000000##FFFFFF
##1A2D6F1.0012.741.6512.74
#FFFFFF12.741.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003771
Deuteranopia (green-blind)
#002F6E
Tritanopia (blue-blind)
#003D49
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1a2d6f;
/* rgb */ color: rgb(26, 45, 111);
/* oklch */ color: oklch(32.6% 0.117 267.3);
Tailwind
colors: {
  custom: {
    50: '#646599',
    500: '#1a2d6f',
    950: '#000000',
  },
}
SCSS
$custom: #1a2d6f;
$custom-light: #646599;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2d6f",
  "rgb": {
    "r": 26,
    "g": 45,
    "b": 111
  },
  "hsl": {
    "h": 226.588,
    "s": 62.044,
    "l": 26.863
  },
  "oklch": {
    "l": 0.32555,
    "c": 0.11692,
    "h": 267.3
  },
  "luminance": 0.03244
}

Semantic roles & 50–950 ramp

primary
#1A2D6F
secondary
#A48E41
accent
#C143E5
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #1A2D6F

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

Preview Lab → · Contrast checker → · Palette generator →

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