#1A264D#1A264D

#1A264D is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.1% C 0.073 H 268.5°. Best body text is #FFFFFF at 14.70:1 contrast (WCAG AA passes).

Color values

HEX#1A264D
RGBrgb(26, 38, 77)
HSLhsl(226, 50%, 20%)
HSVhsv(226, 66%, 30%)
CMYKcmyk(66.2%, 50.6%, 0%, 69.8%)
CIE-LABlab(16.21, 9.02, -25.72)
CIE-LCHlch(16.21, 27.26, 289.31°)
OKLaboklab(28.09% -0.0019 -0.0734)
OKLCHoklch(28.09% 0.073 268.5)
XYZxyz(2.4582, 2.1415, 7.3035)
Luminance0.0214 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A264D #4D411A
analogous
#1A404D #1A264D #271A4D
triadic
#1A264D #4D1A26 #264D1A
tetradic
#1A264D #4D1A40 #4D411A #1A4D27
square
#1A264D #4D1A40 #4D411A #1A4D27
split-complementary
#1A264D #4D271A #404D1A
monochromatic
#080B17 #0B0F1F #1A264D #293D7B #3953A9

Accessibility & contrast

On white

14.70
#1A264D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#1A264D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A264D
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A264D#FFFFFF#000000##FFFFFF
##1A264D1.0014.701.4314.70
#FFFFFF14.701.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142B4E
Deuteranopia (green-blind)
#0C264C
Tritanopia (blue-blind)
#002F35
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1a264d;
/* rgb */ color: rgb(26, 38, 77);
/* oklch */ color: oklch(28.1% 0.073 268.5);
Tailwind
colors: {
  custom: {
    50: '#5c5f7f',
    500: '#1a264d',
    950: '#000000',
  },
}
SCSS
$custom: #1a264d;
$custom-light: #5c5f7f;
$custom-dark: #000000;
JSON
{
  "hex": "#1a264d",
  "rgb": {
    "r": 26,
    "g": 38,
    "b": 77
  },
  "hsl": {
    "h": 225.882,
    "s": 49.515,
    "l": 20.196
  },
  "oklch": {
    "l": 0.28094,
    "c": 0.07343,
    "h": 268.5
  },
  "luminance": 0.02142
}

Semantic roles & 50–950 ramp

primary
#1A264D
secondary
#837340
accent
#B94FD9
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #1A264D

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

Preview Lab → · Contrast checker → · Palette generator →

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