#1A2B85#1A2B85

#1A2B85 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.2% C 0.151 H 268.4°. Best body text is #FFFFFF at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#1A2B85
RGBrgb(26, 43, 133)
HSLhsl(230, 67%, 31%)
HSVhsv(230, 80%, 52%)
CMYKcmyk(80.5%, 67.7%, 0%, 47.8%)
CIE-LABlab(22.44, 27.94, -52.13)
CIE-LCHlch(22.44, 59.15, 298.19°)
OKLaboklab(34.25% -0.0043 -0.1509)
OKLCHoklch(34.25% 0.151 268.4)
XYZxyz(5.5221, 3.6402, 22.5973)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2B85 #85741A
analogous
#1A6085 #1A2B85 #3E1A85
triadic
#1A2B85 #851A2B #2B851A
tetradic
#1A2B85 #851A60 #85741A #1A853E
square
#1A2B85 #851A60 #85741A #1A853E
split-complementary
#1A2B85 #853E1A #60851A
monochromatic
#060A1F #101A52 #1A2B85 #243CB8 #4058DA

Accessibility & contrast

On white

12.15
#1A2B85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#1A2B85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2B85
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2B85#FFFFFF#000000##FFFFFF
##1A2B851.0012.151.7312.15
#FFFFFF12.151.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a2b85;
/* rgb */ color: rgb(26, 43, 133);
/* oklch */ color: oklch(34.2% 0.151 268.4);
Tailwind
colors: {
  custom: {
    50: '#6a64a9',
    500: '#1a2b85',
    950: '#000000',
  },
}
SCSS
$custom: #1a2b85;
$custom-light: #6a64a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2b85",
  "rgb": {
    "r": 26,
    "g": 43,
    "b": 133
  },
  "hsl": {
    "h": 230.467,
    "s": 67.296,
    "l": 31.176
  },
  "oklch": {
    "l": 0.34248,
    "c": 0.15094,
    "h": 268.4
  },
  "luminance": 0.03641
}

Semantic roles & 50–950 ramp

primary
#1A2B85
secondary
#B8A642
accent
#CF3EEA
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080510
muted
#7A7A7F

Preview Lab

Preview with #1A2B85

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

Preview Lab → · Contrast checker → · Palette generator →

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