#1A2E61#1A2E61

#1A2E61 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.6% C 0.094 H 265.3°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#1A2E61
RGBrgb(26, 46, 97)
HSLhsl(223, 58%, 24%)
HSVhsv(223, 73%, 38%)
CMYKcmyk(73.2%, 52.6%, 0%, 62%)
CIE-LABlab(20.19, 11.30, -32.70)
CIE-LCHlch(20.19, 34.60, 289.07°)
OKLaboklab(31.6% -0.0077 -0.0938)
OKLCHoklch(31.6% 0.094 265.3)
XYZxyz(3.5599, 3.0363, 11.7054)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2E61 #614D1A
analogous
#1A5261 #1A2E61 #2A1A61
triadic
#1A2E61 #611A2E #2E611A
tetradic
#1A2E61 #611A52 #614D1A #1A612A
square
#1A2E61 #611A52 #614D1A #1A612A
split-complementary
#1A2E61 #612A1A #52611A
monochromatic
#060B18 #0D1731 #1A2E61 #274591 #345CC2

Accessibility & contrast

On white

13.06
#1A2E61 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A2E61
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2E61#FFFFFF#000000##FFFFFF
##1A2E611.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123463
Deuteranopia (green-blind)
#002E60
Tritanopia (blue-blind)
#003A42
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1a2e61;
/* rgb */ color: rgb(26, 46, 97);
/* oklch */ color: oklch(31.6% 0.094 265.3);
Tailwind
colors: {
  custom: {
    50: '#60668e',
    500: '#1a2e61',
    950: '#000000',
  },
}
SCSS
$custom: #1a2e61;
$custom-light: #60668e;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2e61",
  "rgb": {
    "r": 26,
    "g": 46,
    "b": 97
  },
  "hsl": {
    "h": 223.099,
    "s": 57.724,
    "l": 24.118
  },
  "oklch": {
    "l": 0.31596,
    "c": 0.09413,
    "h": 265.3
  },
  "luminance": 0.03037
}

Semantic roles & 50–950 ramp

primary
#1A2E61
secondary
#977E40
accent
#B647E1
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#05050C
muted
#7A7A7D

Preview Lab

Preview with #1A2E61

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

Preview Lab → · Contrast checker → · Palette generator →

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