#1A2C7D#1A2C7D

#1A2C7D is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.7% C 0.139 H 268.1°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#1A2C7D
RGBrgb(26, 44, 125)
HSLhsl(229, 66%, 30%)
HSVhsv(229, 79%, 49%)
CMYKcmyk(79.2%, 64.8%, 0%, 51%)
CIE-LABlab(21.95, 24.11, -47.90)
CIE-LCHlch(21.95, 53.63, 296.72°)
OKLaboklab(33.65% -0.0046 -0.1385)
OKLCHoklch(33.65% 0.139 268.1)
XYZxyz(5.0271, 3.5011, 19.8089)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2C7D #7D6B1A
analogous
#1A5E7D #1A2C7D #3A1A7D
triadic
#1A2C7D #7D1A2C #2C7D1A
tetradic
#1A2C7D #7D1A5E #7D6B1A #1A7D3A
square
#1A2C7D #7D1A5E #7D6B1A #1A7D3A
split-complementary
#1A2C7D #7D3A1A #5E7D1A
monochromatic
#050919 #0F1A4A #1A2C7D #253EB0 #3B57D6

Accessibility & contrast

On white

12.35
#1A2C7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#1A2C7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2C7D
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2C7D#FFFFFF#000000##FFFFFF
##1A2C7D1.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003980
Deuteranopia (green-blind)
#00307B
Tritanopia (blue-blind)
#004150
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1a2c7d;
/* rgb */ color: rgb(26, 44, 125);
/* oklch */ color: oklch(33.7% 0.139 268.1);
Tailwind
colors: {
  custom: {
    50: '#6865a3',
    500: '#1a2c7d',
    950: '#000000',
  },
}
SCSS
$custom: #1a2c7d;
$custom-light: #6865a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2c7d",
  "rgb": {
    "r": 26,
    "g": 44,
    "b": 125
  },
  "hsl": {
    "h": 229.091,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.3365,
    "c": 0.13857,
    "h": 268.1
  },
  "luminance": 0.03502
}

Semantic roles & 50–950 ramp

primary
#1A2C7D
secondary
#B19D42
accent
#CA3FE9
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07050F
muted
#7A7A7F

Preview Lab

Preview with #1A2C7D

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

Preview Lab → · Contrast checker → · Palette generator →

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