#1D2A75#1D2A75

#1D2A75 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.6% C 0.129 H 270.0°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#1D2A75
RGBrgb(29, 42, 117)
HSLhsl(231, 60%, 29%)
HSVhsv(231, 75%, 46%)
CMYKcmyk(75.2%, 64.1%, 0%, 54.1%)
CIE-LABlab(20.83, 22.72, -44.62)
CIE-LCHlch(20.83, 50.07, 296.98°)
OKLaboklab(32.64% 0.0001 -0.1288)
OKLCHoklch(32.64% 0.129 270)
XYZxyz(4.5444, 3.2010, 17.2045)
Luminance0.0320 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2A75 #75681D
analogous
#1D5675 #1D2A75 #3C1D75
triadic
#1D2A75 #751D2A #2A751D
tetradic
#1D2A75 #751D56 #75681D #1D753C
square
#1D2A75 #751D56 #75681D #1D753C
split-complementary
#1D2A75 #753C1D #56751D
monochromatic
#060919 #111844 #1D2A75 #293CA6 #3D53CF

Accessibility & contrast

On white

12.80
#1D2A75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#1D2A75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2A75
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2A75#FFFFFF#000000##FFFFFF
##1D2A751.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003677
Deuteranopia (green-blind)
#002E74
Tritanopia (blue-blind)
#003D4B
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1d2a75;
/* rgb */ color: rgb(29, 42, 117);
/* oklch */ color: oklch(32.6% 0.129 270.0);
Tailwind
colors: {
  custom: {
    50: '#67639d',
    500: '#1d2a75',
    950: '#000000',
  },
}
SCSS
$custom: #1d2a75;
$custom-light: #67639d;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2a75",
  "rgb": {
    "r": 29,
    "g": 42,
    "b": 117
  },
  "hsl": {
    "h": 231.136,
    "s": 60.274,
    "l": 28.627
  },
  "oklch": {
    "l": 0.32641,
    "c": 0.12884,
    "h": 270
  },
  "luminance": 0.03201
}

Semantic roles & 50–950 ramp

primary
#1D2A75
secondary
#A99A45
accent
#CC44E3
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #1D2A75

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

Preview Lab → · Contrast checker → · Palette generator →

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