#1A318E#1A318E

#1A318E is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.3% C 0.156 H 267.0°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#1A318E
RGBrgb(26, 49, 142)
HSLhsl(228, 69%, 33%)
HSVhsv(228, 82%, 56%)
CMYKcmyk(81.7%, 65.5%, 0%, 44.3%)
CIE-LABlab(24.85, 27.37, -53.79)
CIE-LCHlch(24.85, 60.35, 296.97°)
OKLaboklab(36.28% -0.0081 -0.1557)
OKLCHoklch(36.28% 0.156 267)
XYZxyz(6.4051, 4.3685, 26.0916)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A318E #8E771A
analogous
#1A6B8E #1A318E #3D1A8E
triadic
#1A318E #8E1A31 #318E1A
tetradic
#1A318E #8E1A6B #8E771A #1A8E3D
square
#1A318E #8E1A6B #8E771A #1A8E3D
split-complementary
#1A318E #8E3D1A #6B8E1A
monochromatic
#070D27 #111F5A #1A318E #2343C2 #4563DD

Accessibility & contrast

On white

11.21
#1A318E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#1A318E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A318E
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A318E#FFFFFF#000000##FFFFFF
##1A318E1.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004191
Deuteranopia (green-blind)
#00368C
Tritanopia (blue-blind)
#004A5B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1a318e;
/* rgb */ color: rgb(26, 49, 142);
/* oklch */ color: oklch(36.3% 0.156 267.0);
Tailwind
colors: {
  custom: {
    50: '#6c69b0',
    500: '#1a318e',
    950: '#000000',
  },
}
SCSS
$custom: #1a318e;
$custom-light: #6c69b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1a318e",
  "rgb": {
    "r": 26,
    "g": 49,
    "b": 142
  },
  "hsl": {
    "h": 228.103,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.36281,
    "c": 0.15589,
    "h": 267
  },
  "luminance": 0.04369
}

Semantic roles & 50–950 ramp

primary
#1A318E
secondary
#BEA645
accent
#C93CEC
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080611
muted
#7B7A80

Preview Lab

Preview with #1A318E

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

Preview Lab → · Contrast checker → · Palette generator →

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