#1A264F#1A264F

#1A264F is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.2% C 0.077 H 268.8°. Best body text is #FFFFFF at 14.64:1 contrast (WCAG AA passes).

Color values

HEX#1A264F
RGBrgb(26, 38, 79)
HSLhsl(226, 50%, 21%)
HSVhsv(226, 67%, 31%)
CMYKcmyk(67.1%, 51.9%, 0%, 69%)
CIE-LABlab(16.36, 9.82, -26.85)
CIE-LCHlch(16.36, 28.59, 290.09°)
OKLaboklab(28.25% -0.0016 -0.0767)
OKLCHoklch(28.25% 0.077 268.8)
XYZxyz(2.5299, 2.1701, 7.6812)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A264F #4F431A
analogous
#1A404F #1A264F #281A4F
triadic
#1A264F #4F1A26 #264F1A
tetradic
#1A264F #4F1A40 #4F431A #1A4F28
square
#1A264F #4F1A40 #4F431A #1A4F28
split-complementary
#1A264F #4F281A #404F1A
monochromatic
#080B17 #0B1021 #1A264F #293C7D #3852AB

Accessibility & contrast

On white

14.64
#1A264F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A264F
14.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A264F#FFFFFF#000000##FFFFFF
##1A264F1.0014.641.4314.64
#FFFFFF14.641.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122B51
Deuteranopia (green-blind)
#09264E
Tritanopia (blue-blind)
#002F36
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #1a264f;
/* rgb */ color: rgb(26, 38, 79);
/* oklch */ color: oklch(28.2% 0.077 268.8);
Tailwind
colors: {
  custom: {
    50: '#5d5f81',
    500: '#1a264f',
    950: '#000000',
  },
}
SCSS
$custom: #1a264f;
$custom-light: #5d5f81;
$custom-dark: #000000;
JSON
{
  "hex": "#1a264f",
  "rgb": {
    "r": 26,
    "g": 38,
    "b": 79
  },
  "hsl": {
    "h": 226.415,
    "s": 50.476,
    "l": 20.588
  },
  "oklch": {
    "l": 0.2825,
    "c": 0.07675,
    "h": 268.8
  },
  "luminance": 0.0217
}

Semantic roles & 50–950 ramp

primary
#1A264F
secondary
#857540
accent
#BA4EDA
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #1A264F

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

Preview Lab → · Contrast checker → · Palette generator →

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