#1A2C85#1A2C85

#1A2C85 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.4% C 0.150 H 268.1°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#1A2C85
RGBrgb(26, 44, 133)
HSLhsl(230, 67%, 31%)
HSVhsv(230, 80%, 52%)
CMYKcmyk(80.5%, 66.9%, 0%, 47.8%)
CIE-LABlab(22.70, 27.26, -51.71)
CIE-LCHlch(22.70, 58.45, 297.80°)
OKLaboklab(34.44% -0.0048 -0.1496)
OKLCHoklch(34.44% 0.15 268.1)
XYZxyz(5.5589, 3.7138, 22.6096)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2C85 #85731A
analogous
#1A6185 #1A2C85 #3D1A85
triadic
#1A2C85 #851A2C #2C851A
tetradic
#1A2C85 #851A61 #85731A #1A853D
square
#1A2C85 #851A61 #85731A #1A853D
split-complementary
#1A2C85 #853D1A #61851A
monochromatic
#060A1F #101B52 #1A2C85 #243DB8 #405ADA

Accessibility & contrast

On white

12.05
#1A2C85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#1A2C85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2C85
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2C85#FFFFFF#000000##FFFFFF
##1A2C851.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B88
Deuteranopia (green-blind)
#003183
Tritanopia (blue-blind)
#004454
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1a2c85;
/* rgb */ color: rgb(26, 44, 133);
/* oklch */ color: oklch(34.4% 0.150 268.1);
Tailwind
colors: {
  custom: {
    50: '#6a65a9',
    500: '#1a2c85',
    950: '#000000',
  },
}
SCSS
$custom: #1a2c85;
$custom-light: #6a65a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2c85",
  "rgb": {
    "r": 26,
    "g": 44,
    "b": 133
  },
  "hsl": {
    "h": 229.907,
    "s": 67.296,
    "l": 31.176
  },
  "oklch": {
    "l": 0.34436,
    "c": 0.14972,
    "h": 268.1
  },
  "luminance": 0.03714
}

Semantic roles & 50–950 ramp

primary
#1A2C85
secondary
#B8A542
accent
#CD3EEA
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080510
muted
#7A7A7F

Preview Lab

Preview with #1A2C85

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

Preview Lab → · Contrast checker → · Palette generator →

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