#1A2D5F#1A2D5F

#1A2D5F is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.2% C 0.092 H 265.7°. Best body text is #FFFFFF at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#1A2D5F
RGBrgb(26, 45, 95)
HSLhsl(223, 57%, 24%)
HSVhsv(223, 73%, 37%)
CMYKcmyk(72.6%, 52.6%, 0%, 62.7%)
CIE-LABlab(19.73, 11.21, -32.13)
CIE-LCHlch(19.73, 34.03, 289.23°)
OKLaboklab(31.2% -0.007 -0.0921)
OKLCHoklch(31.2% 0.092 265.7)
XYZxyz(3.4292, 2.9223, 11.2076)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2D5F #5F4C1A
analogous
#1A4F5F #1A2D5F #291A5F
triadic
#1A2D5F #5F1A2D #2D5F1A
tetradic
#1A2D5F #5F1A4F #5F4C1A #1A5F29
square
#1A2D5F #5F1A4F #5F4C1A #1A5F29
split-complementary
#1A2D5F #5F291A #4F5F1A
monochromatic
#070B18 #0D162F #1A2D5F #27448F #345BBF

Accessibility & contrast

On white

13.25
#1A2D5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A2D5F
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2D5F#FFFFFF#000000##FFFFFF
##1A2D5F1.0013.251.5813.25
#FFFFFF13.251.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113361
Deuteranopia (green-blind)
#012D5E
Tritanopia (blue-blind)
#003941
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1a2d5f;
/* rgb */ color: rgb(26, 45, 95);
/* oklch */ color: oklch(31.2% 0.092 265.7);
Tailwind
colors: {
  custom: {
    50: '#60658d',
    500: '#1a2d5f',
    950: '#000000',
  },
}
SCSS
$custom: #1a2d5f;
$custom-light: #60658d;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2d5f",
  "rgb": {
    "r": 26,
    "g": 45,
    "b": 95
  },
  "hsl": {
    "h": 223.478,
    "s": 57.025,
    "l": 23.725
  },
  "oklch": {
    "l": 0.31198,
    "c": 0.0924,
    "h": 265.7
  },
  "luminance": 0.02923
}

Semantic roles & 50–950 ramp

primary
#1A2D5F
secondary
#957D40
accent
#B648E0
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05050C
muted
#797A7D

Preview Lab

Preview with #1A2D5F

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

Preview Lab → · Contrast checker → · Palette generator →

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