#1A2C6C#1A2C6C

#1A2C6C is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.1% C 0.114 H 267.6°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#1A2C6C
RGBrgb(26, 44, 108)
HSLhsl(227, 61%, 26%)
HSVhsv(227, 76%, 42%)
CMYKcmyk(75.9%, 59.3%, 0%, 57.6%)
CIE-LABlab(20.45, 17.26, -39.45)
CIE-LCHlch(20.45, 43.06, 293.63°)
OKLaboklab(32.07% -0.0048 -0.1137)
OKLCHoklch(32.07% 0.114 267.6)
XYZxyz(4.0325, 3.1033, 14.5709)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2C6C #6C5A1A
analogous
#1A556C #1A2C6C #311A6C
triadic
#1A2C6C #6C1A2C #2C6C1A
tetradic
#1A2C6C #6C1A55 #6C5A1A #1A6C31
square
#1A2C6C #6C1A55 #6C5A1A #1A6C31
split-complementary
#1A2C6C #6C311A #556C1A
monochromatic
#060A19 #0E183B #1A2C6C #26409D #3355CE

Accessibility & contrast

On white

12.96
#1A2C6C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#1A2C6C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2C6C
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2C6C#FFFFFF#000000##FFFFFF
##1A2C6C1.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00356E
Deuteranopia (green-blind)
#002E6B
Tritanopia (blue-blind)
#003C47
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1a2c6c;
/* rgb */ color: rgb(26, 44, 108);
/* oklch */ color: oklch(32.1% 0.114 267.6);
Tailwind
colors: {
  custom: {
    50: '#636497',
    500: '#1a2c6c',
    950: '#000000',
  },
}
SCSS
$custom: #1a2c6c;
$custom-light: #636497;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2c6c",
  "rgb": {
    "r": 26,
    "g": 44,
    "b": 108
  },
  "hsl": {
    "h": 226.829,
    "s": 61.194,
    "l": 26.275
  },
  "oklch": {
    "l": 0.3207,
    "c": 0.11379,
    "h": 267.6
  },
  "luminance": 0.03104
}

Semantic roles & 50–950 ramp

primary
#1A2C6C
secondary
#A18C41
accent
#C143E4
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050D
muted
#7A7A7E

Preview Lab

Preview with #1A2C6C

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

Preview Lab → · Contrast checker → · Palette generator →

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