#1A309E#1A309E

#1A309E is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.7% C 0.178 H 267.3°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#1A309E
RGBrgb(26, 48, 158)
HSLhsl(230, 72%, 36%)
HSVhsv(230, 84%, 62%)
CMYKcmyk(83.5%, 69.6%, 0%, 38%)
CIE-LABlab(26.16, 34.17, -61.47)
CIE-LCHlch(26.16, 70.33, 299.07°)
OKLaboklab(37.71% -0.0084 -0.1781)
OKLCHoklch(37.71% 0.178 267.3)
XYZxyz(7.6524, 4.8012, 32.8645)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A309E #9E881A
analogous
#1A729E #1A309E #461A9E
triadic
#1A309E #9E1A30 #309E1A
tetradic
#1A309E #9E1A72 #9E881A #1A9E46
square
#1A309E #9E1A72 #9E881A #1A9E46
split-complementary
#1A309E #9E461A #729E1A
monochromatic
#091035 #112069 #1A309E #2340D3 #5069E2

Accessibility & contrast

On white

10.71
#1A309E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#1A309E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A309E
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A309E#FFFFFF#000000##FFFFFF
##1A309E1.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A1
Deuteranopia (green-blind)
#00389C
Tritanopia (blue-blind)
#004E63
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1a309e;
/* rgb */ color: rgb(26, 48, 158);
/* oklch */ color: oklch(37.7% 0.178 267.3);
Tailwind
colors: {
  custom: {
    50: '#7068bc',
    500: '#1a309e',
    950: '#000000',
  },
}
SCSS
$custom: #1a309e;
$custom-light: #7068bc;
$custom-dark: #000000;
JSON
{
  "hex": "#1a309e",
  "rgb": {
    "r": 26,
    "g": 48,
    "b": 158
  },
  "hsl": {
    "h": 230,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.3771,
    "c": 0.17832,
    "h": 267.3
  },
  "luminance": 0.04802
}

Semantic roles & 50–950 ramp

primary
#1A309E
secondary
#C5B14F
accent
#D039EE
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #1A309E

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

Preview Lab → · Contrast checker → · Palette generator →

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