#1A2D62#1A2D62

#1A2D62 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.4% C 0.097 H 266.1°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#1A2D62
RGBrgb(26, 45, 98)
HSLhsl(224, 58%, 24%)
HSVhsv(224, 73%, 38%)
CMYKcmyk(73.5%, 54.1%, 0%, 61.6%)
CIE-LABlab(19.96, 12.44, -33.74)
CIE-LCHlch(19.96, 35.96, 290.24°)
OKLaboklab(31.44% -0.0066 -0.0969)
OKLCHoklch(31.44% 0.097 266.1)
XYZxyz(3.5682, 2.9779, 11.9396)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2D62 #624F1A
analogous
#1A5162 #1A2D62 #2B1A62
triadic
#1A2D62 #621A2D #2D621A
tetradic
#1A2D62 #621A51 #624F1A #1A622B
square
#1A2D62 #621A51 #624F1A #1A622B
split-complementary
#1A2D62 #622B1A #51621A
monochromatic
#060B18 #0D1732 #1A2D62 #274392 #3459C3

Accessibility & contrast

On white

13.16
#1A2D62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#1A2D62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2D62
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2D62#FFFFFF#000000##FFFFFF
##1A2D621.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D3464
Deuteranopia (green-blind)
#002D61
Tritanopia (blue-blind)
#003A43
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1a2d62;
/* rgb */ color: rgb(26, 45, 98);
/* oklch */ color: oklch(31.4% 0.097 266.1);
Tailwind
colors: {
  custom: {
    50: '#61658f',
    500: '#1a2d62',
    950: '#000000',
  },
}
SCSS
$custom: #1a2d62;
$custom-light: #61658f;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2d62",
  "rgb": {
    "r": 26,
    "g": 45,
    "b": 98
  },
  "hsl": {
    "h": 224.167,
    "s": 58.065,
    "l": 24.314
  },
  "oklch": {
    "l": 0.31442,
    "c": 0.09709,
    "h": 266.1
  },
  "luminance": 0.02978
}

Semantic roles & 50–950 ramp

primary
#1A2D62
secondary
#988140
accent
#B847E1
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#05050C
muted
#7A7A7D

Preview Lab

Preview with #1A2D62

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

Preview Lab → · Contrast checker → · Palette generator →

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