#1A264C#1A264C

#1A264C is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.0% C 0.072 H 268.3°. Best body text is #FFFFFF at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#1A264C
RGBrgb(26, 38, 76)
HSLhsl(226, 49%, 20%)
HSVhsv(226, 66%, 30%)
CMYKcmyk(65.8%, 50%, 0%, 70.2%)
CIE-LABlab(16.14, 8.62, -25.15)
CIE-LCHlch(16.14, 26.59, 288.91°)
OKLaboklab(28.02% -0.0021 -0.0717)
OKLCHoklch(28.02% 0.072 268.3)
XYZxyz(2.4232, 2.1274, 7.1190)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A264C #4C401A
analogous
#1A3F4C #1A264C #271A4C
triadic
#1A264C #4C1A26 #264C1A
tetradic
#1A264C #4C1A3F #4C401A #1A4C27
square
#1A264C #4C1A3F #4C401A #1A4C27
split-complementary
#1A264C #4C271A #3F4C1A
monochromatic
#080B17 #0A0F1E #1A264C #2A3D7A #3954A7

Accessibility & contrast

On white

14.73
#1A264C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A264C
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A264C#FFFFFF#000000##FFFFFF
##1A264C1.0014.731.4314.73
#FFFFFF14.731.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a264c;
/* rgb */ color: rgb(26, 38, 76);
/* oklch */ color: oklch(28.0% 0.072 268.3);
Tailwind
colors: {
  custom: {
    50: '#5c5f7e',
    500: '#1a264c',
    950: '#000000',
  },
}
SCSS
$custom: #1a264c;
$custom-light: #5c5f7e;
$custom-dark: #000000;
JSON
{
  "hex": "#1a264c",
  "rgb": {
    "r": 26,
    "g": 38,
    "b": 76
  },
  "hsl": {
    "h": 225.6,
    "s": 49.02,
    "l": 20
  },
  "oklch": {
    "l": 0.28018,
    "c": 0.07177,
    "h": 268.3
  },
  "luminance": 0.02128
}

Semantic roles & 50–950 ramp

primary
#1A264C
secondary
#827240
accent
#B84FD9
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #1A264C

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

Preview Lab → · Contrast checker → · Palette generator →

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