#1D246F#1D246F

#1D246F is a dark, vivid blue. Relative luminance 0.027; OKLCH L 30.9% C 0.128 H 272.2°. Best body text is #FFFFFF at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#1D246F
RGBrgb(29, 36, 111)
HSLhsl(235, 59%, 27%)
HSVhsv(235, 74%, 44%)
CMYKcmyk(73.9%, 67.6%, 0%, 56.5%)
CIE-LABlab(18.67, 24.55, -44.29)
CIE-LCHlch(18.67, 50.64, 299.00°)
OKLaboklab(30.88% 0.005 -0.1279)
OKLCHoklch(30.88% 0.128 272.2)
XYZxyz(4.0058, 2.6703, 15.3401)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D246F #6F681D
analogous
#1D4D6F #1D246F #3F1D6F
triadic
#1D246F #6F1D24 #246F1D
tetradic
#1D246F #6F1D4D #6F681D #1D6F3F
square
#1D246F #6F1D4D #6F681D #1D6F3F
split-complementary
#1D246F #6F3F1D #4D6F1D
monochromatic
#060818 #10143E #1D246F #2A34A0 #3B47CC

Accessibility & contrast

On white

13.69
#1D246F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D246F
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D246F#FFFFFF#000000##FFFFFF
##1D246F1.0013.691.5313.69
#FFFFFF13.691.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003171
Deuteranopia (green-blind)
#002A6E
Tritanopia (blue-blind)
#003846
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1d246f;
/* rgb */ color: rgb(29, 36, 111);
/* oklch */ color: oklch(30.9% 0.128 272.2);
Tailwind
colors: {
  custom: {
    50: '#665e99',
    500: '#1d246f',
    950: '#000000',
  },
}
SCSS
$custom: #1d246f;
$custom-light: #665e99;
$custom-dark: #000000;
JSON
{
  "hex": "#1d246f",
  "rgb": {
    "r": 29,
    "g": 36,
    "b": 111
  },
  "hsl": {
    "h": 234.878,
    "s": 58.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.30879,
    "c": 0.12802,
    "h": 272.2
  },
  "luminance": 0.02671
}

Semantic roles & 50–950 ramp

primary
#1D246F
secondary
#A39B44
accent
#D446E2
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #1D246F

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

Preview Lab → · Contrast checker → · Palette generator →

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