#1A3166#1A3166

#1A3166 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 32.7% C 0.098 H 264.1°. Best body text is #FFFFFF at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#1A3166
RGBrgb(26, 49, 102)
HSLhsl(222, 59%, 25%)
HSVhsv(222, 75%, 40%)
CMYKcmyk(74.5%, 52%, 0%, 60%)
CIE-LABlab(21.49, 11.19, -33.88)
CIE-LCHlch(21.49, 35.68, 288.28°)
OKLaboklab(32.71% -0.01 -0.0972)
OKLCHoklch(32.71% 0.098 264.1)
XYZxyz(3.9217, 3.3751, 13.0126)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3166 #664F1A
analogous
#1A5766 #1A3166 #291A66
triadic
#1A3166 #661A31 #31661A
tetradic
#1A3166 #661A57 #664F1A #1A6629
square
#1A3166 #661A57 #664F1A #1A6629
split-complementary
#1A3166 #66291A #57661A
monochromatic
#060C18 #0E1A35 #1A3166 #264897 #3360C8

Accessibility & contrast

On white

12.54
#1A3166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#1A3166 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3166
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3166#FFFFFF#000000##FFFFFF
##1A31661.0012.541.6812.54
#FFFFFF12.541.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133768
Deuteranopia (green-blind)
#003065
Tritanopia (blue-blind)
#003D46
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1a3166;
/* rgb */ color: rgb(26, 49, 102);
/* oklch */ color: oklch(32.7% 0.098 264.1);
Tailwind
colors: {
  custom: {
    50: '#616892',
    500: '#1a3166',
    950: '#000000',
  },
}
SCSS
$custom: #1a3166;
$custom-light: #616892;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3166",
  "rgb": {
    "r": 26,
    "g": 49,
    "b": 102
  },
  "hsl": {
    "h": 221.842,
    "s": 59.375,
    "l": 25.098
  },
  "oklch": {
    "l": 0.32705,
    "c": 0.09774,
    "h": 264.1
  },
  "luminance": 0.03376
}

Semantic roles & 50–950 ramp

primary
#1A3166
secondary
#9C8040
accent
#B345E3
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#05060D
muted
#7A7A7E

Preview Lab

Preview with #1A3166

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

Preview Lab → · Contrast checker → · Palette generator →

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