#1D269E#1D269E

#1D269E is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.2% C 0.188 H 269.4°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#1D269E
RGBrgb(29, 38, 158)
HSLhsl(236, 69%, 37%)
HSVhsv(236, 82%, 62%)
CMYKcmyk(81.6%, 75.9%, 0%, 38%)
CIE-LABlab(24.05, 40.58, -64.95)
CIE-LCHlch(24.05, 76.58, 302.00°)
OKLaboklab(36.23% -0.0019 -0.1882)
OKLCHoklch(36.23% 0.188 269.4)
XYZxyz(7.3692, 4.1152, 32.7470)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D269E #9E951D
analogous
#1D679E #1D269E #551D9E
triadic
#1D269E #9E1D26 #269E1D
tetradic
#1D269E #9E1D67 #9E951D #1D9E55
square
#1D269E #9E1D67 #9E951D #1D9E55
split-complementary
#1D269E #9E551D #679E1D
monochromatic
#0A0D37 #141A6A #1D269E #2632D2 #565FE0

Accessibility & contrast

On white

11.52
#1D269E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#1D269E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D269E
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D269E#FFFFFF#000000##FFFFFF
##1D269E1.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A1
Deuteranopia (green-blind)
#00339C
Tritanopia (blue-blind)
#004960
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1d269e;
/* rgb */ color: rgb(29, 38, 158);
/* oklch */ color: oklch(36.2% 0.188 269.4);
Tailwind
colors: {
  custom: {
    50: '#7262bc',
    500: '#1d269e',
    950: '#000000',
  },
}
SCSS
$custom: #1d269e;
$custom-light: #7262bc;
$custom-dark: #000000;
JSON
{
  "hex": "#1d269e",
  "rgb": {
    "r": 29,
    "g": 38,
    "b": 158
  },
  "hsl": {
    "h": 235.814,
    "s": 68.984,
    "l": 36.667
  },
  "oklch": {
    "l": 0.36227,
    "c": 0.18818,
    "h": 269.4
  },
  "luminance": 0.04116
}

Semantic roles & 50–950 ramp

primary
#1D269E
secondary
#C3BB54
accent
#E03CEC
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #1D269E

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

Preview Lab → · Contrast checker → · Palette generator →

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