#1A2D5E#1A2D5E

#1A2D5E is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.1% C 0.091 H 265.5°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#1A2D5E
RGBrgb(26, 45, 94)
HSLhsl(223, 57%, 24%)
HSVhsv(223, 72%, 37%)
CMYKcmyk(72.3%, 52.1%, 0%, 63.1%)
CIE-LABlab(19.66, 10.80, -31.59)
CIE-LCHlch(19.66, 33.38, 288.88°)
OKLaboklab(31.12% -0.0071 -0.0905)
OKLCHoklch(31.12% 0.091 265.5)
XYZxyz(3.3841, 2.9042, 10.9697)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2D5E #5E4B1A
analogous
#1A4F5E #1A2D5E #291A5E
triadic
#1A2D5E #5E1A2D #2D5E1A
tetradic
#1A2D5E #5E1A4F #5E4B1A #1A5E29
square
#1A2D5E #5E1A4F #5E4B1A #1A5E29
split-complementary
#1A2D5E #5E291A #4F5E1A
monochromatic
#070B18 #0D162E #1A2D5E #27448E #355BBE

Accessibility & contrast

On white

13.28
#1A2D5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A2D5E
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2D5E#FFFFFF#000000##FFFFFF
##1A2D5E1.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123360
Deuteranopia (green-blind)
#032D5D
Tritanopia (blue-blind)
#003841
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1a2d5e;
/* rgb */ color: rgb(26, 45, 94);
/* oklch */ color: oklch(31.1% 0.091 265.5);
Tailwind
colors: {
  custom: {
    50: '#60658c',
    500: '#1a2d5e',
    950: '#000000',
  },
}
SCSS
$custom: #1a2d5e;
$custom-light: #60658c;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2d5e",
  "rgb": {
    "r": 26,
    "g": 45,
    "b": 94
  },
  "hsl": {
    "h": 223.235,
    "s": 56.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.31118,
    "c": 0.09082,
    "h": 265.5
  },
  "luminance": 0.02905
}

Semantic roles & 50–950 ramp

primary
#1A2D5E
secondary
#947C40
accent
#B548E0
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05050C
muted
#797A7D

Preview Lab

Preview with #1A2D5E

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

Preview Lab → · Contrast checker → · Palette generator →

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