#1D2FA1#1D2FA1

#1D2FA1 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.0% C 0.183 H 268.2°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#1D2FA1
RGBrgb(29, 47, 161)
HSLhsl(232, 69%, 37%)
HSVhsv(232, 82%, 63%)
CMYKcmyk(82%, 70.8%, 0%, 36.9%)
CIE-LABlab(26.35, 36.15, -62.97)
CIE-LCHlch(26.35, 72.61, 299.86°)
OKLaboklab(37.97% -0.0057 -0.1825)
OKLCHoklch(37.97% 0.183 268.2)
XYZxyz(7.9540, 4.8665, 34.2314)
Luminance0.0487 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2FA1 #A18F1D
analogous
#1D71A1 #1D2FA1 #4D1DA1
triadic
#1D2FA1 #A11D2F #2FA11D
tetradic
#1D2FA1 #A11D71 #A18F1D #1DA14D
square
#1D2FA1 #A11D71 #A18F1D #1DA14D
split-complementary
#1D2FA1 #A14D1D #71A11D
monochromatic
#0A1139 #14206D #1D2FA1 #263ED5 #586AE1

Accessibility & contrast

On white

10.64
#1D2FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D2FA1
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2FA1#FFFFFF#000000##FFFFFF
##1D2FA11.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.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: #1d2fa1;
/* rgb */ color: rgb(29, 47, 161);
/* oklch */ color: oklch(38.0% 0.183 268.2);
Tailwind
colors: {
  custom: {
    50: '#7268be',
    500: '#1d2fa1',
    950: '#000000',
  },
}
SCSS
$custom: #1d2fa1;
$custom-light: #7268be;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2fa1",
  "rgb": {
    "r": 29,
    "g": 47,
    "b": 161
  },
  "hsl": {
    "h": 231.818,
    "s": 69.474,
    "l": 37.255
  },
  "oklch": {
    "l": 0.37973,
    "c": 0.18255,
    "h": 268.2
  },
  "luminance": 0.04867
}

Semantic roles & 50–950 ramp

primary
#1D2FA1
secondary
#C4B555
accent
#D43CEC
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #1D2FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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