#1A2D5D#1A2D5D

#1A2D5D is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.0% C 0.089 H 265.3°. Best body text is #FFFFFF at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#1A2D5D
RGBrgb(26, 45, 93)
HSLhsl(223, 56%, 23%)
HSVhsv(223, 72%, 36%)
CMYKcmyk(72%, 51.6%, 0%, 63.5%)
CIE-LABlab(19.58, 10.39, -31.04)
CIE-LCHlch(19.58, 32.74, 288.50°)
OKLaboklab(31.04% -0.0073 -0.0889)
OKLCHoklch(31.04% 0.089 265.3)
XYZxyz(3.3395, 2.8864, 10.7349)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2D5D #5D4A1A
analogous
#1A4E5D #1A2D5D #281A5D
triadic
#1A2D5D #5D1A2D #2D5D1A
tetradic
#1A2D5D #5D1A4E #5D4A1A #1A5D28
square
#1A2D5D #5D1A4E #5D4A1A #1A5D28
split-complementary
#1A2D5D #5D281A #4E5D1A
monochromatic
#070C18 #0D162D #1A2D5D #27448D #355BBD

Accessibility & contrast

On white

13.31
#1A2D5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#1A2D5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2D5D
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2D5D#FFFFFF#000000##FFFFFF
##1A2D5D1.0013.311.5813.31
#FFFFFF13.311.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14335F
Deuteranopia (green-blind)
#052D5C
Tritanopia (blue-blind)
#003840
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1a2d5d;
/* rgb */ color: rgb(26, 45, 93);
/* oklch */ color: oklch(31.0% 0.089 265.3);
Tailwind
colors: {
  custom: {
    50: '#5f658b',
    500: '#1a2d5d',
    950: '#000000',
  },
}
SCSS
$custom: #1a2d5d;
$custom-light: #5f658b;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2d5d",
  "rgb": {
    "r": 26,
    "g": 45,
    "b": 93
  },
  "hsl": {
    "h": 222.985,
    "s": 56.303,
    "l": 23.333
  },
  "oklch": {
    "l": 0.31039,
    "c": 0.08925,
    "h": 265.3
  },
  "luminance": 0.02887
}

Semantic roles & 50–950 ramp

primary
#1A2D5D
secondary
#937B40
accent
#B548E0
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05050C
muted
#797A7D

Preview Lab

Preview with #1A2D5D

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

Preview Lab → · Contrast checker → · Palette generator →

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