#1A308F#1A308F

#1A308F is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.2% C 0.158 H 267.3°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#1A308F
RGBrgb(26, 48, 143)
HSLhsl(229, 69%, 33%)
HSVhsv(229, 82%, 56%)
CMYKcmyk(81.8%, 66.4%, 0%, 43.9%)
CIE-LABlab(24.69, 28.44, -54.68)
CIE-LCHlch(24.69, 61.63, 297.48°)
OKLaboklab(36.19% -0.0076 -0.1583)
OKLCHoklch(36.19% 0.158 267.3)
XYZxyz(6.4392, 4.3159, 26.4750)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A308F #8F791A
analogous
#1A6A8F #1A308F #3E1A8F
triadic
#1A308F #8F1A30 #308F1A
tetradic
#1A308F #8F1A6A #8F791A #1A8F3E
square
#1A308F #8F1A6A #8F791A #1A8F3E
split-complementary
#1A308F #8F3E1A #6A8F1A
monochromatic
#070D27 #111F5B #1A308F #2341C3 #4662DD

Accessibility & contrast

On white

11.27
#1A308F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#1A308F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A308F
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A308F#FFFFFF#000000##FFFFFF
##1A308F1.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004092
Deuteranopia (green-blind)
#00358D
Tritanopia (blue-blind)
#00495B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1a308f;
/* rgb */ color: rgb(26, 48, 143);
/* oklch */ color: oklch(36.2% 0.158 267.3);
Tailwind
colors: {
  custom: {
    50: '#6c68b1',
    500: '#1a308f',
    950: '#000000',
  },
}
SCSS
$custom: #1a308f;
$custom-light: #6c68b1;
$custom-dark: #000000;
JSON
{
  "hex": "#1a308f",
  "rgb": {
    "r": 26,
    "g": 48,
    "b": 143
  },
  "hsl": {
    "h": 228.718,
    "s": 69.231,
    "l": 33.137
  },
  "oklch": {
    "l": 0.36188,
    "c": 0.15847,
    "h": 267.3
  },
  "luminance": 0.04317
}

Semantic roles & 50–950 ramp

primary
#1A308F
secondary
#BFA846
accent
#CB3CEC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80

Preview Lab

Preview with #1A308F

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

Preview Lab → · Contrast checker → · Palette generator →

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