#1A3F9F#1A3F9F

#1A3F9F is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.6% C 0.162 H 264.3°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#1A3F9F
RGBrgb(26, 63, 159)
HSLhsl(223, 72%, 36%)
HSVhsv(223, 84%, 62%)
CMYKcmyk(83.6%, 60.4%, 0%, 37.6%)
CIE-LABlab(30.10, 24.53, -55.62)
CIE-LCHlch(30.10, 60.78, 293.80°)
OKLaboklab(40.64% -0.0162 -0.1608)
OKLCHoklch(40.64% 0.162 264.3)
XYZxyz(8.4593, 6.2768, 33.5599)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3F9F #9F7A1A
analogous
#1A829F #1A3F9F #381A9F
triadic
#1A3F9F #9F1A3F #3F9F1A
tetradic
#1A3F9F #9F1A82 #9F7A1A #1A9F38
square
#1A3F9F #9F1A82 #9F7A1A #1A9F38
split-complementary
#1A3F9F #9F381A #829F1A
monochromatic
#091536 #112A6A #1A3F9F #2354D4 #5179E3

Accessibility & contrast

On white

9.31
#1A3F9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#1A3F9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3F9F
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3F9F#FFFFFF#000000##FFFFFF
##1A3F9F1.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA2
Deuteranopia (green-blind)
#00419D
Tritanopia (blue-blind)
#005868
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1a3f9f;
/* rgb */ color: rgb(26, 63, 159);
/* oklch */ color: oklch(40.6% 0.162 264.3);
Tailwind
colors: {
  custom: {
    50: '#6f73bc',
    500: '#1a3f9f',
    950: '#000000',
  },
}
SCSS
$custom: #1a3f9f;
$custom-light: #6f73bc;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3f9f",
  "rgb": {
    "r": 26,
    "g": 63,
    "b": 159
  },
  "hsl": {
    "h": 223.308,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.40645,
    "c": 0.16166,
    "h": 264.3
  },
  "luminance": 0.06278
}

Semantic roles & 50–950 ramp

primary
#1A3F9F
secondary
#C5A450
accent
#BC39EF
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #1A3F9F

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

Preview Lab → · Contrast checker → · Palette generator →

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