#1A264E#1A264E

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

Color values

HEX#1A264E
RGBrgb(26, 38, 78)
HSLhsl(226, 50%, 20%)
HSVhsv(226, 67%, 31%)
CMYKcmyk(66.7%, 51.3%, 0%, 69.4%)
CIE-LABlab(16.28, 9.42, -26.29)
CIE-LCHlch(16.28, 27.93, 289.71°)
OKLaboklab(28.17% -0.0017 -0.0751)
OKLCHoklch(28.17% 0.075 268.7)
XYZxyz(2.4938, 2.1557, 7.4909)
Luminance0.0216 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A264E #4E421A
analogous
#1A404E #1A264E #281A4E
triadic
#1A264E #4E1A26 #264E1A
tetradic
#1A264E #4E1A40 #4E421A #1A4E28
square
#1A264E #4E1A40 #4E421A #1A4E28
split-complementary
#1A264E #4E281A #404E1A
monochromatic
#080B17 #0B1020 #1A264E #293C7C #3953AA

Accessibility & contrast

On white

14.67
#1A264E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A264E
14.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A264E#FFFFFF#000000##FFFFFF
##1A264E1.0014.671.4314.67
#FFFFFF14.671.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132B4F
Deuteranopia (green-blind)
#0A264D
Tritanopia (blue-blind)
#002F36
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1a264e;
/* rgb */ color: rgb(26, 38, 78);
/* oklch */ color: oklch(28.2% 0.075 268.7);
Tailwind
colors: {
  custom: {
    50: '#5c5f80',
    500: '#1a264e',
    950: '#000000',
  },
}
SCSS
$custom: #1a264e;
$custom-light: #5c5f80;
$custom-dark: #000000;
JSON
{
  "hex": "#1a264e",
  "rgb": {
    "r": 26,
    "g": 38,
    "b": 78
  },
  "hsl": {
    "h": 226.154,
    "s": 50,
    "l": 20.392
  },
  "oklch": {
    "l": 0.28172,
    "c": 0.0751,
    "h": 268.7
  },
  "luminance": 0.02156
}

Semantic roles & 50–950 ramp

primary
#1A264E
secondary
#847440
accent
#B94EDA
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #1A264E

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

Preview Lab → · Contrast checker → · Palette generator →

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