#1A3261#1A3261

#1A3261 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 32.6% C 0.089 H 262.3°. Best body text is #FFFFFF at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#1A3261
RGBrgb(26, 50, 97)
HSLhsl(220, 58%, 24%)
HSVhsv(220, 73%, 38%)
CMYKcmyk(73.2%, 48.5%, 0%, 62%)
CIE-LABlab(21.44, 8.42, -30.69)
CIE-LCHlch(21.44, 31.82, 285.34°)
OKLaboklab(32.56% -0.0119 -0.0878)
OKLCHoklch(32.56% 0.089 262.3)
XYZxyz(3.7235, 3.3635, 11.7599)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3261 #61491A
analogous
#1A5661 #1A3261 #261A61
triadic
#1A3261 #611A32 #32611A
tetradic
#1A3261 #611A56 #61491A #1A6126
square
#1A3261 #611A56 #61491A #1A6126
split-complementary
#1A3261 #61261A #56611A
monochromatic
#060C18 #0D1931 #1A3261 #274B91 #3464C2

Accessibility & contrast

On white

12.55
#1A3261 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#1A3261 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3261
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3261#FFFFFF#000000##FFFFFF
##1A32611.0012.551.6712.55
#FFFFFF12.551.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3763
Deuteranopia (green-blind)
#0D3060
Tritanopia (blue-blind)
#003D44
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1a3261;
/* rgb */ color: rgb(26, 50, 97);
/* oklch */ color: oklch(32.6% 0.089 262.3);
Tailwind
colors: {
  custom: {
    50: '#60698e',
    500: '#1a3261',
    950: '#000000',
  },
}
SCSS
$custom: #1a3261;
$custom-light: #60698e;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3261",
  "rgb": {
    "r": 26,
    "g": 50,
    "b": 97
  },
  "hsl": {
    "h": 219.718,
    "s": 57.724,
    "l": 24.118
  },
  "oklch": {
    "l": 0.32557,
    "c": 0.08861,
    "h": 262.3
  },
  "luminance": 0.03364
}

Semantic roles & 50–950 ramp

primary
#1A3261
secondary
#977940
accent
#AD47E1
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #1A3261

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

Preview Lab → · Contrast checker → · Palette generator →

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