#1A307B#1A307B

#1A307B is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.3% C 0.131 H 266.7°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#1A307B
RGBrgb(26, 48, 123)
HSLhsl(226, 65%, 29%)
HSVhsv(226, 79%, 48%)
CMYKcmyk(78.9%, 61%, 0%, 51.8%)
CIE-LABlab(22.87, 20.50, -45.12)
CIE-LCHlch(22.87, 49.56, 294.44°)
OKLaboklab(34.28% -0.0074 -0.1303)
OKLCHoklch(34.28% 0.131 266.7)
XYZxyz(5.0569, 3.7630, 19.1949)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A307B #7B651A
analogous
#1A617B #1A307B #351A7B
triadic
#1A307B #7B1A30 #307B1A
tetradic
#1A307B #7B1A61 #7B651A #1A7B35
square
#1A307B #7B1A61 #7B651A #1A7B35
split-complementary
#1A307B #7B351A #617B1A
monochromatic
#050A19 #0F1C48 #1A307B #2544AE #3A5DD5

Accessibility & contrast

On white

11.98
#1A307B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#1A307B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A307B
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A307B#FFFFFF#000000##FFFFFF
##1A307B1.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7E
Deuteranopia (green-blind)
#00327A
Tritanopia (blue-blind)
#004350
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1a307b;
/* rgb */ color: rgb(26, 48, 123);
/* oklch */ color: oklch(34.3% 0.131 266.7);
Tailwind
colors: {
  custom: {
    50: '#6767a2',
    500: '#1a307b',
    950: '#000000',
  },
}
SCSS
$custom: #1a307b;
$custom-light: #6767a2;
$custom-dark: #000000;
JSON
{
  "hex": "#1a307b",
  "rgb": {
    "r": 26,
    "g": 48,
    "b": 123
  },
  "hsl": {
    "h": 226.392,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.34281,
    "c": 0.13051,
    "h": 266.7
  },
  "luminance": 0.03764
}

Semantic roles & 50–950 ramp

primary
#1A307B
secondary
#AF9642
accent
#C240E8
background
#F6F6FA
surface
#EBEBF3
border
#C6C6CD
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1A307B

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

Preview Lab → · Contrast checker → · Palette generator →

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