#1A2C7C#1A2C7C

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

Color values

HEX#1A2C7C
RGBrgb(26, 44, 124)
HSLhsl(229, 65%, 29%)
HSVhsv(229, 79%, 49%)
CMYKcmyk(79%, 64.5%, 0%, 51.4%)
CIE-LABlab(21.86, 23.72, -47.41)
CIE-LCHlch(21.86, 53.02, 296.57°)
OKLaboklab(33.55% -0.0045 -0.1371)
OKLCHoklch(33.55% 0.137 268.1)
XYZxyz(4.9635, 3.4757, 19.4742)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2C7C #7C6A1A
analogous
#1A5D7C #1A2C7C #391A7C
triadic
#1A2C7C #7C1A2C #2C7C1A
tetradic
#1A2C7C #7C1A5D #7C6A1A #1A7C39
square
#1A2C7C #7C1A5D #7C6A1A #1A7C39
split-complementary
#1A2C7C #7C391A #5D7C1A
monochromatic
#050919 #0F1A49 #1A2C7C #253EAF #3B57D6

Accessibility & contrast

On white

12.39
#1A2C7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A2C7C
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2C7C#FFFFFF#000000##FFFFFF
##1A2C7C1.0012.391.7012.39
#FFFFFF12.391.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397F
Deuteranopia (green-blind)
#00307A
Tritanopia (blue-blind)
#00414F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1a2c7c;
/* rgb */ color: rgb(26, 44, 124);
/* oklch */ color: oklch(33.6% 0.137 268.1);
Tailwind
colors: {
  custom: {
    50: '#6864a3',
    500: '#1a2c7c',
    950: '#000000',
  },
}
SCSS
$custom: #1a2c7c;
$custom-light: #6864a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2c7c",
  "rgb": {
    "r": 26,
    "g": 44,
    "b": 124
  },
  "hsl": {
    "h": 228.98,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.33553,
    "c": 0.13716,
    "h": 268.1
  },
  "luminance": 0.03476
}

Semantic roles & 50–950 ramp

primary
#1A2C7C
secondary
#B09C42
accent
#C940E8
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07050F
muted
#7A7A7F

Preview Lab

Preview with #1A2C7C

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

Preview Lab → · Contrast checker → · Palette generator →

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