#1A3F9E#1A3F9E

#1A3F9E is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.6% C 0.160 H 264.2°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#1A3F9E
RGBrgb(26, 63, 158)
HSLhsl(223, 72%, 36%)
HSVhsv(223, 84%, 62%)
CMYKcmyk(83.5%, 60.1%, 0%, 38%)
CIE-LABlab(30.02, 24.13, -55.15)
CIE-LCHlch(30.02, 60.20, 293.63°)
OKLaboklab(40.56% -0.0162 -0.1595)
OKLCHoklch(40.56% 0.16 264.2)
XYZxyz(8.3729, 6.2422, 33.1047)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3F9E #9E791A
analogous
#1A819E #1A3F9E #371A9E
triadic
#1A3F9E #9E1A3F #3F9E1A
tetradic
#1A3F9E #9E1A81 #9E791A #1A9E37
square
#1A3F9E #9E1A81 #9E791A #1A9E37
split-complementary
#1A3F9E #9E371A #819E1A
monochromatic
#091535 #112A69 #1A3F9E #2354D3 #5079E2

Accessibility & contrast

On white

9.34
#1A3F9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#1A3F9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3F9E
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3F9E#FFFFFF#000000##FFFFFF
##1A3F9E1.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA1
Deuteranopia (green-blind)
#00419C
Tritanopia (blue-blind)
#005768
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1a3f9e;
/* rgb */ color: rgb(26, 63, 158);
/* oklch */ color: oklch(40.6% 0.160 264.2);
Tailwind
colors: {
  custom: {
    50: '#6f73bb',
    500: '#1a3f9e',
    950: '#000000',
  },
}
SCSS
$custom: #1a3f9e;
$custom-light: #6f73bb;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3f9e",
  "rgb": {
    "r": 26,
    "g": 63,
    "b": 158
  },
  "hsl": {
    "h": 223.182,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.40555,
    "c": 0.1603,
    "h": 264.2
  },
  "luminance": 0.06243
}

Semantic roles & 50–950 ramp

primary
#1A3F9E
secondary
#C5A44F
accent
#BC39EE
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #1A3F9E

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

Preview Lab → · Contrast checker → · Palette generator →

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