#1D264B#1D264B

#1D264B is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.2% C 0.069 H 271.1°. Best body text is #FFFFFF at 14.68:1 contrast (WCAG AA passes).

Color values

HEX#1D264B
RGBrgb(29, 38, 75)
HSLhsl(228, 44%, 20%)
HSVhsv(228, 61%, 29%)
CMYKcmyk(61.3%, 49.3%, 0%, 70.6%)
CIE-LABlab(16.28, 8.94, -24.24)
CIE-LCHlch(16.28, 25.83, 290.25°)
OKLaboklab(28.16% 0.0013 -0.069)
OKLCHoklch(28.16% 0.069 271.1)
XYZxyz(2.4694, 2.1553, 6.9411)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D264B #4B421D
analogous
#1D3D4B #1D264B #2B1D4B
triadic
#1D264B #4B1D26 #264B1D
tetradic
#1D264B #4B1D3D #4B421D #1D4B2B
square
#1D264B #4B1D3D #4B421D #1D4B2B
split-complementary
#1D264B #4B2B1D #3D4B1D
monochromatic
#090B16 #0C101F #1D264B #2E3C77 #3F53A3

Accessibility & contrast

On white

14.68
#1D264B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#1D264B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D264B
14.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D264B#FFFFFF#000000##FFFFFF
##1D264B1.0014.681.4314.68
#FFFFFF14.681.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162A4C
Deuteranopia (green-blind)
#10264A
Tritanopia (blue-blind)
#042E34
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1d264b;
/* rgb */ color: rgb(29, 38, 75);
/* oklch */ color: oklch(28.2% 0.069 271.1);
Tailwind
colors: {
  custom: {
    50: '#5d607d',
    500: '#1d264b',
    950: '#000000',
  },
}
SCSS
$custom: #1d264b;
$custom-light: #5d607d;
$custom-dark: #000000;
JSON
{
  "hex": "#1d264b",
  "rgb": {
    "r": 29,
    "g": 38,
    "b": 75
  },
  "hsl": {
    "h": 228.261,
    "s": 44.231,
    "l": 20.392
  },
  "oklch": {
    "l": 0.28157,
    "c": 0.06898,
    "h": 271.1
  },
  "luminance": 0.02155
}

Semantic roles & 50–950 ramp

primary
#1D264B
secondary
#807444
accent
#BB54D4
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #1D264B

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

Preview Lab → · Contrast checker → · Palette generator →

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