#1A307F#1A307F

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

Color values

HEX#1A307F
RGBrgb(26, 48, 127)
HSLhsl(227, 66%, 30%)
HSVhsv(227, 80%, 50%)
CMYKcmyk(79.5%, 62.2%, 0%, 50.2%)
CIE-LABlab(23.22, 22.12, -47.08)
CIE-LCHlch(23.22, 52.02, 295.16°)
OKLaboklab(34.65% -0.0073 -0.136)
OKLCHoklch(34.65% 0.136 266.9)
XYZxyz(5.3124, 3.8652, 20.5406)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A307F #7F691A
analogous
#1A627F #1A307F #371A7F
triadic
#1A307F #7F1A30 #307F1A
tetradic
#1A307F #7F1A62 #7F691A #1A7F37
square
#1A307F #7F1A62 #7F691A #1A7F37
split-complementary
#1A307F #7F371A #627F1A
monochromatic
#050A19 #101D4C #1A307F #2443B2 #3C5ED7

Accessibility & contrast

On white

11.84
#1A307F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A307F
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A307F#FFFFFF#000000##FFFFFF
##1A307F1.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a307f;
/* rgb */ color: rgb(26, 48, 127);
/* oklch */ color: oklch(34.6% 0.136 266.9);
Tailwind
colors: {
  custom: {
    50: '#6868a5',
    500: '#1a307f',
    950: '#000000',
  },
}
SCSS
$custom: #1a307f;
$custom-light: #6868a5;
$custom-dark: #000000;
JSON
{
  "hex": "#1a307f",
  "rgb": {
    "r": 26,
    "g": 48,
    "b": 127
  },
  "hsl": {
    "h": 226.931,
    "s": 66.013,
    "l": 30
  },
  "oklch": {
    "l": 0.3465,
    "c": 0.13625,
    "h": 266.9
  },
  "luminance": 0.03866
}

Semantic roles & 50–950 ramp

primary
#1A307F
secondary
#B39A42
accent
#C43FE9
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1A307F

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

Preview Lab → · Contrast checker → · Palette generator →

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