#1A307A#1A307A

#1A307A is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.2% C 0.129 H 266.7°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#1A307A
RGBrgb(26, 48, 122)
HSLhsl(226, 65%, 29%)
HSVhsv(226, 79%, 48%)
CMYKcmyk(78.7%, 60.7%, 0%, 52.2%)
CIE-LABlab(22.79, 20.10, -44.63)
CIE-LCHlch(22.79, 48.95, 294.24°)
OKLaboklab(34.19% -0.0074 -0.1288)
OKLCHoklch(34.19% 0.129 266.7)
XYZxyz(4.9946, 3.7381, 18.8669)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A307A #7A641A
analogous
#1A607A #1A307A #341A7A
triadic
#1A307A #7A1A30 #307A1A
tetradic
#1A307A #7A1A60 #7A641A #1A7A34
square
#1A307A #7A1A60 #7A641A #1A7A34
split-complementary
#1A307A #7A341A #607A1A
monochromatic
#050A19 #0F1C48 #1A307A #2544AC #395DD5

Accessibility & contrast

On white

12.02
#1A307A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#1A307A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A307A
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A307A#FFFFFF#000000##FFFFFF
##1A307A1.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7C
Deuteranopia (green-blind)
#003279
Tritanopia (blue-blind)
#004350
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1a307a;
/* rgb */ color: rgb(26, 48, 122);
/* oklch */ color: oklch(34.2% 0.129 266.7);
Tailwind
colors: {
  custom: {
    50: '#6767a1',
    500: '#1a307a',
    950: '#000000',
  },
}
SCSS
$custom: #1a307a;
$custom-light: #6767a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1a307a",
  "rgb": {
    "r": 26,
    "g": 48,
    "b": 122
  },
  "hsl": {
    "h": 226.25,
    "s": 64.865,
    "l": 29.02
  },
  "oklch": {
    "l": 0.3419,
    "c": 0.12906,
    "h": 266.7
  },
  "luminance": 0.03739
}

Semantic roles & 50–950 ramp

primary
#1A307A
secondary
#AE9541
accent
#C140E8
background
#F6F6FA
surface
#EBEBF3
border
#C6C6CD
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1A307A

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

Preview Lab → · Contrast checker → · Palette generator →

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