#1D2863#1D2863

#1D2863 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.6% C 0.105 H 270.9°. Best body text is #FFFFFF at 13.67:1 contrast (WCAG AA passes).

Color values

HEX#1D2863
RGBrgb(29, 40, 99)
HSLhsl(231, 55%, 25%)
HSVhsv(231, 71%, 39%)
CMYKcmyk(70.7%, 59.6%, 0%, 61.2%)
CIE-LABlab(18.71, 17.00, -36.40)
CIE-LCHlch(18.71, 40.17, 295.03°)
OKLaboklab(30.58% 0.0017 -0.1047)
OKLCHoklch(30.58% 0.105 270.9)
XYZxyz(3.5169, 2.6793, 12.1338)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2863 #63581D
analogous
#1D4B63 #1D2863 #351D63
triadic
#1D2863 #631D28 #28631D
tetradic
#1D2863 #631D4B #63581D #1D6335
square
#1D2863 #631D4B #63581D #1D6335
split-complementary
#1D2863 #63351D #4B631D
monochromatic
#070A18 #0F1534 #1D2863 #2B3B92 #394EC2

Accessibility & contrast

On white

13.67
#1D2863 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#1D2863 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2863
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2863#FFFFFF#000000##FFFFFF
##1D28631.0013.671.5413.67
#FFFFFF13.671.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003165
Deuteranopia (green-blind)
#002A62
Tritanopia (blue-blind)
#003641
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1d2863;
/* rgb */ color: rgb(29, 40, 99);
/* oklch */ color: oklch(30.6% 0.105 270.9);
Tailwind
colors: {
  custom: {
    50: '#636190',
    500: '#1d2863',
    950: '#000000',
  },
}
SCSS
$custom: #1d2863;
$custom-light: #636190;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2863",
  "rgb": {
    "r": 29,
    "g": 40,
    "b": 99
  },
  "hsl": {
    "h": 230.571,
    "s": 54.688,
    "l": 25.098
  },
  "oklch": {
    "l": 0.30575,
    "c": 0.10472,
    "h": 270.9
  },
  "luminance": 0.0268
}

Semantic roles & 50–950 ramp

primary
#1D2863
secondary
#988B44
accent
#C74ADE
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06050C
muted
#7A797D

Preview Lab

Preview with #1D2863

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

Preview Lab → · Contrast checker → · Palette generator →

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