#1A308E#1A308E

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

Color values

HEX#1A308E
RGBrgb(26, 48, 142)
HSLhsl(229, 69%, 33%)
HSVhsv(229, 82%, 56%)
CMYKcmyk(81.7%, 66.2%, 0%, 44.3%)
CIE-LABlab(24.59, 28.05, -54.21)
CIE-LCHlch(24.59, 61.04, 297.36°)
OKLaboklab(36.09% -0.0075 -0.1569)
OKLCHoklch(36.09% 0.157 267.3)
XYZxyz(6.3637, 4.2858, 26.0778)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A308E #8E781A
analogous
#1A6A8E #1A308E #3E1A8E
triadic
#1A308E #8E1A30 #308E1A
tetradic
#1A308E #8E1A6A #8E781A #1A8E3E
square
#1A308E #8E1A6A #8E781A #1A8E3E
split-complementary
#1A308E #8E3E1A #6A8E1A
monochromatic
#070D27 #111F5A #1A308E #2341C2 #4562DD

Accessibility & contrast

On white

11.31
#1A308E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A308E
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A308E#FFFFFF#000000##FFFFFF
##1A308E1.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a308e;
/* rgb */ color: rgb(26, 48, 142);
/* oklch */ color: oklch(36.1% 0.157 267.3);
Tailwind
colors: {
  custom: {
    50: '#6c68b0',
    500: '#1a308e',
    950: '#000000',
  },
}
SCSS
$custom: #1a308e;
$custom-light: #6c68b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1a308e",
  "rgb": {
    "r": 26,
    "g": 48,
    "b": 142
  },
  "hsl": {
    "h": 228.621,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.3609,
    "c": 0.15712,
    "h": 267.3
  },
  "luminance": 0.04287
}

Semantic roles & 50–950 ramp

primary
#1A308E
secondary
#BEA745
accent
#CB3CEC
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080611
muted
#7B7A80

Preview Lab

Preview with #1A308E

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

Preview Lab → · Contrast checker → · Palette generator →

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