#1A2FA1#1A2FA1

#1A2FA1 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.9% C 0.183 H 267.4°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#1A2FA1
RGBrgb(26, 47, 161)
HSLhsl(231, 72%, 37%)
HSVhsv(231, 84%, 63%)
CMYKcmyk(83.9%, 70.8%, 0%, 36.9%)
CIE-LABlab(26.23, 35.93, -63.18)
CIE-LCHlch(26.23, 72.68, 299.63°)
OKLaboklab(37.85% -0.0083 -0.1831)
OKLCHoklch(37.85% 0.183 267.4)
XYZxyz(7.8733, 4.8249, 34.2276)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2FA1 #A18C1A
analogous
#1A73A1 #1A2FA1 #491AA1
triadic
#1A2FA1 #A11A2F #2FA11A
tetradic
#1A2FA1 #A11A73 #A18C1A #1AA149
square
#1A2FA1 #A11A73 #A18C1A #1AA149
split-complementary
#1A2FA1 #A1491A #73A11A
monochromatic
#091038 #11206C #1A2FA1 #233ED6 #5269E3

Accessibility & contrast

On white

10.69
#1A2FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#1A2FA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2FA1
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2FA1#FFFFFF#000000##FFFFFF
##1A2FA11.0010.691.9710.69
#FFFFFF10.691.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A4
Deuteranopia (green-blind)
#00389F
Tritanopia (blue-blind)
#004F64
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1a2fa1;
/* rgb */ color: rgb(26, 47, 161);
/* oklch */ color: oklch(37.9% 0.183 267.4);
Tailwind
colors: {
  custom: {
    50: '#7168be',
    500: '#1a2fa1',
    950: '#000000',
  },
}
SCSS
$custom: #1a2fa1;
$custom-light: #7168be;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2fa1",
  "rgb": {
    "r": 26,
    "g": 47,
    "b": 161
  },
  "hsl": {
    "h": 230.667,
    "s": 72.193,
    "l": 36.667
  },
  "oklch": {
    "l": 0.37852,
    "c": 0.1833,
    "h": 267.4
  },
  "luminance": 0.04826
}

Semantic roles & 50–950 ramp

primary
#1A2FA1
secondary
#C6B451
accent
#D339EF
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #1A2FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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