#1A308D#1A308D

#1A308D is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.0% C 0.156 H 267.2°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#1A308D
RGBrgb(26, 48, 141)
HSLhsl(229, 69%, 33%)
HSVhsv(229, 82%, 55%)
CMYKcmyk(81.6%, 66%, 0%, 44.7%)
CIE-LABlab(24.50, 27.66, -53.75)
CIE-LCHlch(24.50, 60.45, 297.23°)
OKLaboklab(35.99% -0.0075 -0.1556)
OKLCHoklch(35.99% 0.156 267.2)
XYZxyz(6.2890, 4.2559, 25.6841)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A308D #8D771A
analogous
#1A698D #1A308D #3E1A8D
triadic
#1A308D #8D1A30 #308D1A
tetradic
#1A308D #8D1A69 #8D771A #1A8D3E
square
#1A308D #8D1A69 #8D771A #1A8D3E
split-complementary
#1A308D #8D3E1A #698D1A
monochromatic
#070D26 #101E59 #1A308D #2442C1 #4562DD

Accessibility & contrast

On white

11.34
#1A308D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#1A308D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A308D
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A308D#FFFFFF#000000##FFFFFF
##1A308D1.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004090
Deuteranopia (green-blind)
#00358B
Tritanopia (blue-blind)
#00495A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1a308d;
/* rgb */ color: rgb(26, 48, 141);
/* oklch */ color: oklch(36.0% 0.156 267.2);
Tailwind
colors: {
  custom: {
    50: '#6c68af',
    500: '#1a308d',
    950: '#000000',
  },
}
SCSS
$custom: #1a308d;
$custom-light: #6c68af;
$custom-dark: #000000;
JSON
{
  "hex": "#1a308d",
  "rgb": {
    "r": 26,
    "g": 48,
    "b": 141
  },
  "hsl": {
    "h": 228.522,
    "s": 68.862,
    "l": 32.745
  },
  "oklch": {
    "l": 0.35991,
    "c": 0.15576,
    "h": 267.2
  },
  "luminance": 0.04257
}

Semantic roles & 50–950 ramp

primary
#1A308D
secondary
#BEA745
accent
#CA3CEC
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #1A308D

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

Preview Lab → · Contrast checker → · Palette generator →

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