#1A2F80#1A2F80

#1A2F80 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.5% C 0.139 H 267.3°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#1A2F80
RGBrgb(26, 47, 128)
HSLhsl(228, 66%, 30%)
HSVhsv(228, 80%, 50%)
CMYKcmyk(79.7%, 63.3%, 0%, 49.8%)
CIE-LABlab(23.04, 23.21, -48.02)
CIE-LCHlch(23.04, 53.33, 295.80°)
OKLaboklab(34.54% -0.0066 -0.1388)
OKLCHoklch(34.54% 0.139 267.3)
XYZxyz(5.3374, 3.8106, 20.8721)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2F80 #806B1A
analogous
#1A6280 #1A2F80 #381A80
triadic
#1A2F80 #801A2F #2F801A
tetradic
#1A2F80 #801A62 #806B1A #1A8038
square
#1A2F80 #801A62 #806B1A #1A8038
split-complementary
#1A2F80 #80381A #62801A
monochromatic
#050A1A #101C4D #1A2F80 #2442B3 #3D5DD8

Accessibility & contrast

On white

11.92
#1A2F80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#1A2F80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2F80
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2F80#FFFFFF#000000##FFFFFF
##1A2F801.0011.921.7611.92
#FFFFFF11.921.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C83
Deuteranopia (green-blind)
#00327E
Tritanopia (blue-blind)
#004452
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1a2f80;
/* rgb */ color: rgb(26, 47, 128);
/* oklch */ color: oklch(34.5% 0.139 267.3);
Tailwind
colors: {
  custom: {
    50: '#6867a6',
    500: '#1a2f80',
    950: '#000000',
  },
}
SCSS
$custom: #1a2f80;
$custom-light: #6867a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2f80",
  "rgb": {
    "r": 26,
    "g": 47,
    "b": 128
  },
  "hsl": {
    "h": 227.647,
    "s": 66.234,
    "l": 30.196
  },
  "oklch": {
    "l": 0.34539,
    "c": 0.13896,
    "h": 267.3
  },
  "luminance": 0.03811
}

Semantic roles & 50–950 ramp

primary
#1A2F80
secondary
#B49C42
accent
#C63FE9
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1A2F80

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

Preview Lab → · Contrast checker → · Palette generator →

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