#1A3F9C#1A3F9C

#1A3F9C is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.4% C 0.158 H 264.1°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#1A3F9C
RGBrgb(26, 63, 156)
HSLhsl(223, 71%, 36%)
HSVhsv(223, 83%, 61%)
CMYKcmyk(83.3%, 59.6%, 0%, 38.8%)
CIE-LABlab(29.85, 23.34, -54.21)
CIE-LCHlch(29.85, 59.02, 293.29°)
OKLaboklab(40.38% -0.0163 -0.1567)
OKLCHoklch(40.38% 0.158 264.1)
XYZxyz(8.2021, 6.1739, 32.2054)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3F9C #9C771A
analogous
#1A809C #1A3F9C #361A9C
triadic
#1A3F9C #9C1A3F #3F9C1A
tetradic
#1A3F9C #9C1A80 #9C771A #1A9C36
square
#1A3F9C #9C1A80 #9C771A #1A9C36
split-complementary
#1A3F9C #9C361A #809C1A
monochromatic
#091533 #112A68 #1A3F9C #2354D0 #4F79E2

Accessibility & contrast

On white

9.40
#1A3F9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#1A3F9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3F9C
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3F9C#FFFFFF#000000##FFFFFF
##1A3F9C1.009.402.249.40
#FFFFFF9.401.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9F
Deuteranopia (green-blind)
#00419A
Tritanopia (blue-blind)
#005767
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1a3f9c;
/* rgb */ color: rgb(26, 63, 156);
/* oklch */ color: oklch(40.4% 0.158 264.1);
Tailwind
colors: {
  custom: {
    50: '#6f73ba',
    500: '#1a3f9c',
    950: '#000000',
  },
}
SCSS
$custom: #1a3f9c;
$custom-light: #6f73ba;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3f9c",
  "rgb": {
    "r": 26,
    "g": 63,
    "b": 156
  },
  "hsl": {
    "h": 222.923,
    "s": 71.429,
    "l": 35.686
  },
  "oklch": {
    "l": 0.40376,
    "c": 0.15758,
    "h": 264.1
  },
  "luminance": 0.06175
}

Semantic roles & 50–950 ramp

primary
#1A3F9C
secondary
#C4A24E
accent
#BB3AEE
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #1A3F9C

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

Preview Lab → · Contrast checker → · Palette generator →

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