#1A307C#1A307C

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

Color values

HEX#1A307C
RGBrgb(26, 48, 124)
HSLhsl(227, 65%, 29%)
HSVhsv(227, 79%, 49%)
CMYKcmyk(79%, 61.3%, 0%, 51.4%)
CIE-LABlab(22.96, 20.91, -45.61)
CIE-LCHlch(22.96, 50.18, 294.62°)
OKLaboklab(34.37% -0.0074 -0.1317)
OKLCHoklch(34.37% 0.132 266.8)
XYZxyz(5.1198, 3.7882, 19.5262)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A307C #7C661A
analogous
#1A617C #1A307C #351A7C
triadic
#1A307C #7C1A30 #307C1A
tetradic
#1A307C #7C1A61 #7C661A #1A7C35
square
#1A307C #7C1A61 #7C661A #1A7C35
split-complementary
#1A307C #7C351A #617C1A
monochromatic
#050A19 #0F1C49 #1A307C #2544AF #3B5DD6

Accessibility & contrast

On white

11.95
#1A307C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A307C
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A307C#FFFFFF#000000##FFFFFF
##1A307C1.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7F
Deuteranopia (green-blind)
#00327B
Tritanopia (blue-blind)
#004351
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1a307c;
/* rgb */ color: rgb(26, 48, 124);
/* oklch */ color: oklch(34.4% 0.132 266.8);
Tailwind
colors: {
  custom: {
    50: '#6767a3',
    500: '#1a307c',
    950: '#000000',
  },
}
SCSS
$custom: #1a307c;
$custom-light: #6767a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1a307c",
  "rgb": {
    "r": 26,
    "g": 48,
    "b": 124
  },
  "hsl": {
    "h": 226.531,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.34372,
    "c": 0.13195,
    "h": 266.8
  },
  "luminance": 0.03789
}

Semantic roles & 50–950 ramp

primary
#1A307C
secondary
#B09742
accent
#C240E8
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1A307C

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

Preview Lab → · Contrast checker → · Palette generator →

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