#1A307D#1A307D

#1A307D is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.5% C 0.133 H 266.8°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#1A307D
RGBrgb(26, 48, 125)
HSLhsl(227, 66%, 30%)
HSVhsv(227, 79%, 49%)
CMYKcmyk(79.2%, 61.6%, 0%, 51%)
CIE-LABlab(23.05, 21.31, -46.11)
CIE-LCHlch(23.05, 50.79, 294.81°)
OKLaboklab(34.46% -0.0073 -0.1332)
OKLCHoklch(34.46% 0.133 266.8)
XYZxyz(5.1833, 3.8136, 19.8610)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A307D #7D671A
analogous
#1A617D #1A307D #361A7D
triadic
#1A307D #7D1A30 #307D1A
tetradic
#1A307D #7D1A61 #7D671A #1A7D36
square
#1A307D #7D1A61 #7D671A #1A7D36
split-complementary
#1A307D #7D361A #617D1A
monochromatic
#050A19 #0F1D4A #1A307D #2543B0 #3B5ED6

Accessibility & contrast

On white

11.91
#1A307D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#1A307D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A307D
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A307D#FFFFFF#000000##FFFFFF
##1A307D1.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C80
Deuteranopia (green-blind)
#00327C
Tritanopia (blue-blind)
#004451
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1a307d;
/* rgb */ color: rgb(26, 48, 125);
/* oklch */ color: oklch(34.5% 0.133 266.8);
Tailwind
colors: {
  custom: {
    50: '#6768a3',
    500: '#1a307d',
    950: '#000000',
  },
}
SCSS
$custom: #1a307d;
$custom-light: #6768a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1a307d",
  "rgb": {
    "r": 26,
    "g": 48,
    "b": 125
  },
  "hsl": {
    "h": 226.667,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.34464,
    "c": 0.13338,
    "h": 266.8
  },
  "luminance": 0.03814
}

Semantic roles & 50–950 ramp

primary
#1A307D
secondary
#B19842
accent
#C33FE9
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1A307D

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

Preview Lab → · Contrast checker → · Palette generator →

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