#1D246C#1D246C

#1D246C is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.6% C 0.124 H 272.4°. Best body text is #FFFFFF at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#1D246C
RGBrgb(29, 36, 108)
HSLhsl(235, 58%, 27%)
HSVhsv(235, 73%, 42%)
CMYKcmyk(73.1%, 66.7%, 0%, 57.6%)
CIE-LABlab(18.39, 23.39, -42.81)
CIE-LCHlch(18.39, 48.78, 298.65°)
OKLaboklab(30.58% 0.0052 -0.1236)
OKLCHoklch(30.58% 0.124 272.4)
XYZxyz(3.8434, 2.6053, 14.4848)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D246C #6C651D
analogous
#1D4C6C #1D246C #3E1D6C
triadic
#1D246C #6C1D24 #246C1D
tetradic
#1D246C #6C1D4C #6C651D #1D6C3E
square
#1D246C #6C1D4C #6C651D #1D6C3E
split-complementary
#1D246C #6C3E1D #4C6C1D
monochromatic
#060818 #10143C #1D246C #2A349C #3946CA

Accessibility & contrast

On white

13.80
#1D246C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#1D246C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D246C
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D246C#FFFFFF#000000##FFFFFF
##1D246C1.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316E
Deuteranopia (green-blind)
#00296B
Tritanopia (blue-blind)
#003744
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1d246c;
/* rgb */ color: rgb(29, 36, 108);
/* oklch */ color: oklch(30.6% 0.124 272.4);
Tailwind
colors: {
  custom: {
    50: '#655e97',
    500: '#1d246c',
    950: '#000000',
  },
}
SCSS
$custom: #1d246c;
$custom-light: #655e97;
$custom-dark: #000000;
JSON
{
  "hex": "#1d246c",
  "rgb": {
    "r": 29,
    "g": 36,
    "b": 108
  },
  "hsl": {
    "h": 234.684,
    "s": 57.664,
    "l": 26.863
  },
  "oklch": {
    "l": 0.30584,
    "c": 0.12369,
    "h": 272.4
  },
  "luminance": 0.02606
}

Semantic roles & 50–950 ramp

primary
#1D246C
secondary
#A19844
accent
#D347E1
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040D
muted
#7A797E

Preview Lab

Preview with #1D246C

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

Preview Lab → · Contrast checker → · Palette generator →

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