#1D246E#1D246E

#1D246E is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.8% C 0.127 H 272.3°. Best body text is #FFFFFF at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#1D246E
RGBrgb(29, 36, 110)
HSLhsl(235, 58%, 27%)
HSVhsv(235, 74%, 43%)
CMYKcmyk(73.6%, 67.3%, 0%, 56.9%)
CIE-LABlab(18.58, 24.17, -43.80)
CIE-LCHlch(18.58, 50.02, 298.89°)
OKLaboklab(30.78% 0.0051 -0.1265)
OKLCHoklch(30.78% 0.127 272.3)
XYZxyz(3.9511, 2.6484, 15.0518)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D246E #6E671D
analogous
#1D4C6E #1D246E #3F1D6E
triadic
#1D246E #6E1D24 #246E1D
tetradic
#1D246E #6E1D4C #6E671D #1D6E3F
square
#1D246E #6E1D4C #6E671D #1D6E3F
split-complementary
#1D246E #6E3F1D #4C6E1D
monochromatic
#060818 #10143E #1D246E #2A349E #3A47CB

Accessibility & contrast

On white

13.73
#1D246E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#1D246E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D246E
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D246E#FFFFFF#000000##FFFFFF
##1D246E1.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003170
Deuteranopia (green-blind)
#002A6D
Tritanopia (blue-blind)
#003745
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1d246e;
/* rgb */ color: rgb(29, 36, 110);
/* oklch */ color: oklch(30.8% 0.127 272.3);
Tailwind
colors: {
  custom: {
    50: '#665e98',
    500: '#1d246e',
    950: '#000000',
  },
}
SCSS
$custom: #1d246e;
$custom-light: #665e98;
$custom-dark: #000000;
JSON
{
  "hex": "#1d246e",
  "rgb": {
    "r": 29,
    "g": 36,
    "b": 110
  },
  "hsl": {
    "h": 234.815,
    "s": 58.273,
    "l": 27.255
  },
  "oklch": {
    "l": 0.3078,
    "c": 0.12658,
    "h": 272.3
  },
  "luminance": 0.02649
}

Semantic roles & 50–950 ramp

primary
#1D246E
secondary
#A29A44
accent
#D446E1
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #1D246E

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

Preview Lab → · Contrast checker → · Palette generator →

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