#1A264B#1A264B

#1A264B is a dark, moderate blue. Relative luminance 0.021; OKLCH L 27.9% C 0.070 H 268.1°. Best body text is #FFFFFF at 14.76:1 contrast (WCAG AA passes).

Color values

HEX#1A264B
RGBrgb(26, 38, 75)
HSLhsl(225, 49%, 20%)
HSVhsv(225, 65%, 29%)
CMYKcmyk(65.3%, 49.3%, 0%, 70.6%)
CIE-LABlab(16.07, 8.21, -24.58)
CIE-LCHlch(16.07, 25.92, 288.48°)
OKLaboklab(27.94% -0.0023 -0.0701)
OKLCHoklch(27.94% 0.07 268.1)
XYZxyz(2.3887, 2.1136, 6.9373)
Luminance0.0211 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A264B #4B3F1A
analogous
#1A3F4B #1A264B #271A4B
triadic
#1A264B #4B1A26 #264B1A
tetradic
#1A264B #4B1A3F #4B3F1A #1A4B27
square
#1A264B #4B1A3F #4B3F1A #1A4B27
split-complementary
#1A264B #4B271A #3F4B1A
monochromatic
#080C17 #0A0F1E #1A264B #2A3D78 #3A54A6

Accessibility & contrast

On white

14.76
#1A264B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#1A264B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A264B
14.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A264B#FFFFFF#000000##FFFFFF
##1A264B1.0014.761.4214.76
#FFFFFF14.761.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152A4C
Deuteranopia (green-blind)
#0E264A
Tritanopia (blue-blind)
#002E34
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1a264b;
/* rgb */ color: rgb(26, 38, 75);
/* oklch */ color: oklch(27.9% 0.070 268.1);
Tailwind
colors: {
  custom: {
    50: '#5c5f7d',
    500: '#1a264b',
    950: '#000000',
  },
}
SCSS
$custom: #1a264b;
$custom-light: #5c5f7d;
$custom-dark: #000000;
JSON
{
  "hex": "#1a264b",
  "rgb": {
    "r": 26,
    "g": 38,
    "b": 75
  },
  "hsl": {
    "h": 225.306,
    "s": 48.515,
    "l": 19.804
  },
  "oklch": {
    "l": 0.27942,
    "c": 0.0701,
    "h": 268.1
  },
  "luminance": 0.02114
}

Semantic roles & 50–950 ramp

primary
#1A264B
secondary
#817140
accent
#B750D8
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #1A264B

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

Preview Lab → · Contrast checker → · Palette generator →

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