#1A396C#1A396C

#1A396C is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.1% C 0.096 H 259.8°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#1A396C
RGBrgb(26, 57, 108)
HSLhsl(217, 61%, 26%)
HSVhsv(217, 76%, 42%)
CMYKcmyk(75.9%, 47.2%, 0%, 57.6%)
CIE-LABlab(24.41, 7.96, -33.06)
CIE-LCHlch(24.41, 34.00, 283.53°)
OKLaboklab(35.09% -0.017 -0.0947)
OKLCHoklch(35.09% 0.096 259.8)
XYZxyz(4.5949, 4.2281, 14.7584)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A396C #6C4D1A
analogous
#1A626C #1A396C #241A6C
triadic
#1A396C #6C1A39 #396C1A
tetradic
#1A396C #6C1A62 #6C4D1A #1A6C24
square
#1A396C #6C1A62 #6C4D1A #1A6C24
split-complementary
#1A396C #6C241A #626C1A
monochromatic
#060D19 #0E1F3B #1A396C #26539D #336DCE

Accessibility & contrast

On white

11.38
#1A396C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#1A396C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A396C
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A396C#FFFFFF#000000##FFFFFF
##1A396C1.0011.381.8511.38
#FFFFFF11.381.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3E6E
Deuteranopia (green-blind)
#0F366B
Tritanopia (blue-blind)
#00454D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1a396c;
/* rgb */ color: rgb(26, 57, 108);
/* oklch */ color: oklch(35.1% 0.096 259.8);
Tailwind
colors: {
  custom: {
    50: '#636e96',
    500: '#1a396c',
    950: '#000000',
  },
}
SCSS
$custom: #1a396c;
$custom-light: #636e96;
$custom-dark: #000000;
JSON
{
  "hex": "#1a396c",
  "rgb": {
    "r": 26,
    "g": 57,
    "b": 108
  },
  "hsl": {
    "h": 217.317,
    "s": 61.194,
    "l": 26.275
  },
  "oklch": {
    "l": 0.35085,
    "c": 0.09617,
    "h": 259.8
  },
  "luminance": 0.04229
}

Semantic roles & 50–950 ramp

primary
#1A396C
secondary
#A17D41
accent
#A843E4
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070D
muted
#7A7A7E

Preview Lab

Preview with #1A396C

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

Preview Lab → · Contrast checker → · Palette generator →

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