#1A2E62#1A2E62

#1A2E62 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.7% C 0.096 H 265.4°. Best body text is #FFFFFF at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#1A2E62
RGBrgb(26, 46, 98)
HSLhsl(223, 58%, 24%)
HSVhsv(223, 73%, 38%)
CMYKcmyk(73.5%, 53.1%, 0%, 61.6%)
CIE-LABlab(20.26, 11.71, -33.24)
CIE-LCHlch(20.26, 35.24, 289.41°)
OKLaboklab(31.68% -0.0076 -0.0954)
OKLCHoklch(31.68% 0.096 265.4)
XYZxyz(3.6068, 3.0551, 11.9525)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2E62 #624E1A
analogous
#1A5262 #1A2E62 #2A1A62
triadic
#1A2E62 #621A2E #2E621A
tetradic
#1A2E62 #621A52 #624E1A #1A622A
square
#1A2E62 #621A52 #624E1A #1A622A
split-complementary
#1A2E62 #622A1A #52621A
monochromatic
#060B18 #0D1732 #1A2E62 #274592 #345BC3

Accessibility & contrast

On white

13.04
#1A2E62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#1A2E62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2E62
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2E62#FFFFFF#000000##FFFFFF
##1A2E621.0013.041.6113.04
#FFFFFF13.041.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103464
Deuteranopia (green-blind)
#002E61
Tritanopia (blue-blind)
#003A43
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1a2e62;
/* rgb */ color: rgb(26, 46, 98);
/* oklch */ color: oklch(31.7% 0.096 265.4);
Tailwind
colors: {
  custom: {
    50: '#61668f',
    500: '#1a2e62',
    950: '#000000',
  },
}
SCSS
$custom: #1a2e62;
$custom-light: #61668f;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2e62",
  "rgb": {
    "r": 26,
    "g": 46,
    "b": 98
  },
  "hsl": {
    "h": 223.333,
    "s": 58.065,
    "l": 24.314
  },
  "oklch": {
    "l": 0.31676,
    "c": 0.09569,
    "h": 265.4
  },
  "luminance": 0.03055
}

Semantic roles & 50–950 ramp

primary
#1A2E62
secondary
#987F40
accent
#B647E1
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#05050C
muted
#7A7A7D

Preview Lab

Preview with #1A2E62

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

Preview Lab → · Contrast checker → · Palette generator →

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