#1A2C9F#1A2C9F

#1A2C9F is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.1% C 0.184 H 267.8°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#1A2C9F
RGBrgb(26, 44, 159)
HSLhsl(232, 72%, 36%)
HSVhsv(232, 84%, 62%)
CMYKcmyk(83.6%, 72.3%, 0%, 37.6%)
CIE-LABlab(25.33, 37.09, -63.44)
CIE-LCHlch(25.33, 73.49, 300.31°)
OKLaboklab(37.14% -0.0069 -0.1839)
OKLCHoklch(37.14% 0.184 267.8)
XYZxyz(7.5825, 4.5233, 33.2676)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2C9F #9F8D1A
analogous
#1A6F9F #1A2C9F #4B1A9F
triadic
#1A2C9F #9F1A2C #2C9F1A
tetradic
#1A2C9F #9F1A6F #9F8D1A #1A9F4B
square
#1A2C9F #9F1A6F #9F8D1A #1A9F4B
split-complementary
#1A2C9F #9F4B1A #6F9F1A
monochromatic
#090F36 #111D6A #1A2C9F #233BD4 #5165E3

Accessibility & contrast

On white

11.02
#1A2C9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#1A2C9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2C9F
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2C9F#FFFFFF#000000##FFFFFF
##1A2C9F1.0011.021.9011.02
#FFFFFF11.021.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A2
Deuteranopia (green-blind)
#00369D
Tritanopia (blue-blind)
#004D62
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1a2c9f;
/* rgb */ color: rgb(26, 44, 159);
/* oklch */ color: oklch(37.1% 0.184 267.8);
Tailwind
colors: {
  custom: {
    50: '#7166bd',
    500: '#1a2c9f',
    950: '#000000',
  },
}
SCSS
$custom: #1a2c9f;
$custom-light: #7166bd;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2c9f",
  "rgb": {
    "r": 26,
    "g": 44,
    "b": 159
  },
  "hsl": {
    "h": 231.88,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.3714,
    "c": 0.18401,
    "h": 267.8
  },
  "luminance": 0.04524
}

Semantic roles & 50–950 ramp

primary
#1A2C9F
secondary
#C5B550
accent
#D639EF
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #1A2C9F

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

Preview Lab → · Contrast checker → · Palette generator →

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