#1A2D7C#1A2D7C

#1A2D7C is a dark, vivid blue. Relative luminance 0.036; OKLCH L 33.8% C 0.136 H 267.8°. Best body text is #FFFFFF at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#1A2D7C
RGBrgb(26, 45, 124)
HSLhsl(228, 65%, 29%)
HSVhsv(228, 79%, 49%)
CMYKcmyk(79%, 63.7%, 0%, 51.4%)
CIE-LABlab(22.13, 23.02, -46.97)
CIE-LCHlch(22.13, 52.31, 296.11°)
OKLaboklab(33.76% -0.0052 -0.1358)
OKLCHoklch(33.76% 0.136 267.8)
XYZxyz(5.0012, 3.5511, 19.4867)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2D7C #7C691A
analogous
#1A5E7C #1A2D7C #381A7C
triadic
#1A2D7C #7C1A2D #2D7C1A
tetradic
#1A2D7C #7C1A5E #7C691A #1A7C38
square
#1A2D7C #7C1A5E #7C691A #1A7C38
split-complementary
#1A2D7C #7C381A #5E7C1A
monochromatic
#050919 #0F1B49 #1A2D7C #253FAF #3B59D6

Accessibility & contrast

On white

12.28
#1A2D7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#1A2D7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2D7C
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2D7C#FFFFFF#000000##FFFFFF
##1A2D7C1.0012.281.7112.28
#FFFFFF12.281.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7F
Deuteranopia (green-blind)
#00307A
Tritanopia (blue-blind)
#004150
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1a2d7c;
/* rgb */ color: rgb(26, 45, 124);
/* oklch */ color: oklch(33.8% 0.136 267.8);
Tailwind
colors: {
  custom: {
    50: '#6765a3',
    500: '#1a2d7c',
    950: '#000000',
  },
}
SCSS
$custom: #1a2d7c;
$custom-light: #6765a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2d7c",
  "rgb": {
    "r": 26,
    "g": 45,
    "b": 124
  },
  "hsl": {
    "h": 228.367,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.33755,
    "c": 0.13586,
    "h": 267.8
  },
  "luminance": 0.03552
}

Semantic roles & 50–950 ramp

primary
#1A2D7C
secondary
#B09B42
accent
#C840E8
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07050F
muted
#7A7A7F

Preview Lab

Preview with #1A2D7C

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

Preview Lab → · Contrast checker → · Palette generator →

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