#1A2C8E#1A2C8E

#1A2C8E is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.3% C 0.162 H 268.1°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#1A2C8E
RGBrgb(26, 44, 142)
HSLhsl(231, 69%, 33%)
HSVhsv(231, 82%, 56%)
CMYKcmyk(81.7%, 69%, 0%, 44.3%)
CIE-LABlab(23.58, 30.74, -55.87)
CIE-LCHlch(23.58, 63.77, 298.82°)
OKLaboklab(35.35% -0.0054 -0.1618)
OKLCHoklch(35.35% 0.162 268.1)
XYZxyz(6.2075, 3.9732, 26.0257)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2C8E #8E7C1A
analogous
#1A668E #1A2C8E #421A8E
triadic
#1A2C8E #8E1A2C #2C8E1A
tetradic
#1A2C8E #8E1A66 #8E7C1A #1A8E42
square
#1A2C8E #8E1A66 #8E7C1A #1A8E42
split-complementary
#1A2C8E #8E421A #668E1A
monochromatic
#070C27 #111C5A #1A2C8E #233CC2 #455DDD

Accessibility & contrast

On white

11.70
#1A2C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#1A2C8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2C8E
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2C8E#FFFFFF#000000##FFFFFF
##1A2C8E1.0011.701.7911.70
#FFFFFF11.701.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E91
Deuteranopia (green-blind)
#00338C
Tritanopia (blue-blind)
#004759
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1a2c8e;
/* rgb */ color: rgb(26, 44, 142);
/* oklch */ color: oklch(35.3% 0.162 268.1);
Tailwind
colors: {
  custom: {
    50: '#6c65b0',
    500: '#1a2c8e',
    950: '#000000',
  },
}
SCSS
$custom: #1a2c8e;
$custom-light: #6c65b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2c8e",
  "rgb": {
    "r": 26,
    "g": 44,
    "b": 142
  },
  "hsl": {
    "h": 230.69,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.35349,
    "c": 0.16191,
    "h": 268.1
  },
  "luminance": 0.03974
}

Semantic roles & 50–950 ramp

primary
#1A2C8E
secondary
#BEAC45
accent
#D13CEC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080511
muted
#7B7A80

Preview Lab

Preview with #1A2C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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