#1A2F85#1A2F85

#1A2F85 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.0% C 0.146 H 267.4°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#1A2F85
RGBrgb(26, 47, 133)
HSLhsl(228, 67%, 31%)
HSVhsv(228, 80%, 52%)
CMYKcmyk(80.5%, 64.7%, 0%, 47.8%)
CIE-LABlab(23.49, 25.20, -50.41)
CIE-LCHlch(23.49, 56.36, 296.56°)
OKLaboklab(35.02% -0.0067 -0.1458)
OKLCHoklch(35.02% 0.146 267.4)
XYZxyz(5.6747, 3.9455, 22.6482)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2F85 #85701A
analogous
#1A6485 #1A2F85 #3A1A85
triadic
#1A2F85 #851A2F #2F851A
tetradic
#1A2F85 #851A64 #85701A #1A853A
square
#1A2F85 #851A64 #85701A #1A853A
split-complementary
#1A2F85 #853A1A #64851A
monochromatic
#060B1F #101D52 #1A2F85 #2441B8 #405EDA

Accessibility & contrast

On white

11.74
#1A2F85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#1A2F85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2F85
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2F85#FFFFFF#000000##FFFFFF
##1A2F851.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D88
Deuteranopia (green-blind)
#003383
Tritanopia (blue-blind)
#004555
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1a2f85;
/* rgb */ color: rgb(26, 47, 133);
/* oklch */ color: oklch(35.0% 0.146 267.4);
Tailwind
colors: {
  custom: {
    50: '#6a67a9',
    500: '#1a2f85',
    950: '#000000',
  },
}
SCSS
$custom: #1a2f85;
$custom-light: #6a67a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2f85",
  "rgb": {
    "r": 26,
    "g": 47,
    "b": 133
  },
  "hsl": {
    "h": 228.224,
    "s": 67.296,
    "l": 31.176
  },
  "oklch": {
    "l": 0.35017,
    "c": 0.14598,
    "h": 267.4
  },
  "luminance": 0.03946
}

Semantic roles & 50–950 ramp

primary
#1A2F85
secondary
#B8A142
accent
#C83EEA
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070610
muted
#7A7A7F

Preview Lab

Preview with #1A2F85

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

Preview Lab → · Contrast checker → · Palette generator →

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