#1A318F#1A318F

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

Color values

HEX#1A318F
RGBrgb(26, 49, 143)
HSLhsl(228, 69%, 33%)
HSVhsv(228, 82%, 56%)
CMYKcmyk(81.8%, 65.7%, 0%, 43.9%)
CIE-LABlab(24.95, 27.77, -54.25)
CIE-LCHlch(24.95, 60.95, 297.10°)
OKLaboklab(36.38% -0.0081 -0.157)
OKLCHoklch(36.38% 0.157 267)
XYZxyz(6.4805, 4.3986, 26.4887)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A318F #8F781A
analogous
#1A6B8F #1A318F #3D1A8F
triadic
#1A318F #8F1A31 #318F1A
tetradic
#1A318F #8F1A6B #8F781A #1A8F3D
square
#1A318F #8F1A6B #8F781A #1A8F3D
split-complementary
#1A318F #8F3D1A #6B8F1A
monochromatic
#070E27 #111F5B #1A318F #2343C3 #4664DD

Accessibility & contrast

On white

11.17
#1A318F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#1A318F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A318F
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A318F#FFFFFF#000000##FFFFFF
##1A318F1.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a318f;
/* rgb */ color: rgb(26, 49, 143);
/* oklch */ color: oklch(36.4% 0.157 267.0);
Tailwind
colors: {
  custom: {
    50: '#6c69b1',
    500: '#1a318f',
    950: '#000000',
  },
}
SCSS
$custom: #1a318f;
$custom-light: #6c69b1;
$custom-dark: #000000;
JSON
{
  "hex": "#1a318f",
  "rgb": {
    "r": 26,
    "g": 49,
    "b": 143
  },
  "hsl": {
    "h": 228.205,
    "s": 69.231,
    "l": 33.137
  },
  "oklch": {
    "l": 0.36378,
    "c": 0.15726,
    "h": 267
  },
  "luminance": 0.04399
}

Semantic roles & 50–950 ramp

primary
#1A318F
secondary
#BFA746
accent
#C93CEC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80

Preview Lab

Preview with #1A318F

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

Preview Lab → · Contrast checker → · Palette generator →

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