#1A2C8F#1A2C8F

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

Color values

HEX#1A2C8F
RGBrgb(26, 44, 143)
HSLhsl(231, 69%, 33%)
HSVhsv(231, 82%, 56%)
CMYKcmyk(81.8%, 69.2%, 0%, 43.9%)
CIE-LABlab(23.68, 31.12, -56.33)
CIE-LCHlch(23.68, 64.36, 298.92°)
OKLaboklab(35.45% -0.0055 -0.1631)
OKLCHoklch(35.45% 0.163 268.1)
XYZxyz(6.2829, 4.0034, 26.4229)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2C8F #8F7D1A
analogous
#1A668F #1A2C8F #421A8F
triadic
#1A2C8F #8F1A2C #2C8F1A
tetradic
#1A2C8F #8F1A66 #8F7D1A #1A8F42
square
#1A2C8F #8F1A66 #8F7D1A #1A8F42
split-complementary
#1A2C8F #8F421A #668F1A
monochromatic
#070C27 #111C5B #1A2C8F #233CC3 #465DDD

Accessibility & contrast

On white

11.66
#1A2C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#1A2C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2C8F
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2C8F#FFFFFF#000000##FFFFFF
##1A2C8F1.0011.661.8011.66
#FFFFFF11.661.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a2c8f;
/* rgb */ color: rgb(26, 44, 143);
/* oklch */ color: oklch(35.5% 0.163 268.1);
Tailwind
colors: {
  custom: {
    50: '#6d65b1',
    500: '#1a2c8f',
    950: '#000000',
  },
}
SCSS
$custom: #1a2c8f;
$custom-light: #6d65b1;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2c8f",
  "rgb": {
    "r": 26,
    "g": 44,
    "b": 143
  },
  "hsl": {
    "h": 230.769,
    "s": 69.231,
    "l": 33.137
  },
  "oklch": {
    "l": 0.35452,
    "c": 0.16324,
    "h": 268.1
  },
  "luminance": 0.04004
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1A2C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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