#1A307E#1A307E

#1A307E is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.6% C 0.135 H 266.9°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#1A307E
RGBrgb(26, 48, 126)
HSLhsl(227, 66%, 30%)
HSVhsv(227, 79%, 49%)
CMYKcmyk(79.4%, 61.9%, 0%, 50.6%)
CIE-LABlab(23.13, 21.71, -46.59)
CIE-LCHlch(23.13, 51.41, 294.98°)
OKLaboklab(34.56% -0.0073 -0.1346)
OKLCHoklch(34.56% 0.135 266.9)
XYZxyz(5.2475, 3.8393, 20.1991)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A307E #7E681A
analogous
#1A627E #1A307E #361A7E
triadic
#1A307E #7E1A30 #307E1A
tetradic
#1A307E #7E1A62 #7E681A #1A7E36
square
#1A307E #7E1A62 #7E681A #1A7E36
split-complementary
#1A307E #7E361A #627E1A
monochromatic
#050A19 #101D4B #1A307E #2443B1 #3C5ED7

Accessibility & contrast

On white

11.88
#1A307E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#1A307E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A307E
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A307E#FFFFFF#000000##FFFFFF
##1A307E1.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C81
Deuteranopia (green-blind)
#00337C
Tritanopia (blue-blind)
#004452
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1a307e;
/* rgb */ color: rgb(26, 48, 126);
/* oklch */ color: oklch(34.6% 0.135 266.9);
Tailwind
colors: {
  custom: {
    50: '#6868a4',
    500: '#1a307e',
    950: '#000000',
  },
}
SCSS
$custom: #1a307e;
$custom-light: #6868a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1a307e",
  "rgb": {
    "r": 26,
    "g": 48,
    "b": 126
  },
  "hsl": {
    "h": 226.8,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.34557,
    "c": 0.13482,
    "h": 266.9
  },
  "luminance": 0.0384
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1A307E

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

Preview Lab → · Contrast checker → · Palette generator →

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