#1A309F#1A309F

#1A309F is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.8% C 0.180 H 267.3°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#1A309F
RGBrgb(26, 48, 159)
HSLhsl(230, 72%, 36%)
HSVhsv(230, 84%, 62%)
CMYKcmyk(83.6%, 69.8%, 0%, 37.6%)
CIE-LABlab(26.26, 34.55, -61.91)
CIE-LCHlch(26.26, 70.90, 299.16°)
OKLaboklab(37.81% -0.0085 -0.1794)
OKLCHoklch(37.81% 0.18 267.3)
XYZxyz(7.7388, 4.8358, 33.3197)
Luminance0.0484 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A309F #9F891A
analogous
#1A739F #1A309F #471A9F
triadic
#1A309F #9F1A30 #309F1A
tetradic
#1A309F #9F1A73 #9F891A #1A9F47
square
#1A309F #9F1A73 #9F891A #1A9F47
split-complementary
#1A309F #9F471A #739F1A
monochromatic
#091036 #11206A #1A309F #2340D4 #5169E3

Accessibility & contrast

On white

10.67
#1A309F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#1A309F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A309F
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A309F#FFFFFF#000000##FFFFFF
##1A309F1.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A2
Deuteranopia (green-blind)
#00389D
Tritanopia (blue-blind)
#004F63
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1a309f;
/* rgb */ color: rgb(26, 48, 159);
/* oklch */ color: oklch(37.8% 0.180 267.3);
Tailwind
colors: {
  custom: {
    50: '#7168bc',
    500: '#1a309f',
    950: '#000000',
  },
}
SCSS
$custom: #1a309f;
$custom-light: #7168bc;
$custom-dark: #000000;
JSON
{
  "hex": "#1a309f",
  "rgb": {
    "r": 26,
    "g": 48,
    "b": 159
  },
  "hsl": {
    "h": 230.075,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.37814,
    "c": 0.17961,
    "h": 267.3
  },
  "luminance": 0.04837
}

Semantic roles & 50–950 ramp

primary
#1A309F
secondary
#C5B250
accent
#D139EF
background
#F7F6FB
surface
#EDEBF7
border
#C8C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #1A309F

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

Preview Lab → · Contrast checker → · Palette generator →

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