#1A305A#1A305A

#1A305A is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.5% C 0.080 H 262.0°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#1A305A
RGBrgb(26, 48, 90)
HSLhsl(219, 55%, 23%)
HSVhsv(219, 71%, 35%)
CMYKcmyk(71.1%, 46.7%, 0%, 64.7%)
CIE-LABlab(20.33, 6.99, -27.87)
CIE-LCHlch(20.33, 28.73, 284.08°)
OKLaboklab(31.54% -0.0112 -0.0795)
OKLCHoklch(31.54% 0.08 262)
XYZxyz(3.3278, 3.0714, 10.0883)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A305A #5A441A
analogous
#1A505A #1A305A #241A5A
triadic
#1A305A #5A1A30 #305A1A
tetradic
#1A305A #5A1A50 #5A441A #1A5A24
square
#1A305A #5A1A50 #5A441A #1A5A24
split-complementary
#1A305A #5A241A #505A1A
monochromatic
#070D18 #0C172B #1A305A #284989 #3563B9

Accessibility & contrast

On white

13.01
#1A305A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A305A
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A305A#FFFFFF#000000##FFFFFF
##1A305A1.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C345C
Deuteranopia (green-blind)
#122E59
Tritanopia (blue-blind)
#003A40
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1a305a;
/* rgb */ color: rgb(26, 48, 90);
/* oklch */ color: oklch(31.5% 0.080 262.0);
Tailwind
colors: {
  custom: {
    50: '#5f6789',
    500: '#1a305a',
    950: '#000000',
  },
}
SCSS
$custom: #1a305a;
$custom-light: #5f6789;
$custom-dark: #000000;
JSON
{
  "hex": "#1a305a",
  "rgb": {
    "r": 26,
    "g": 48,
    "b": 90
  },
  "hsl": {
    "h": 219.375,
    "s": 55.172,
    "l": 22.745
  },
  "oklch": {
    "l": 0.31543,
    "c": 0.08033,
    "h": 262
  },
  "luminance": 0.03072
}

Semantic roles & 50–950 ramp

primary
#1A305A
secondary
#907440
accent
#AB49DF
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060B
muted
#797A7C

Preview Lab

Preview with #1A305A

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

Preview Lab → · Contrast checker → · Palette generator →

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