#1A264A#1A264A

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

Color values

HEX#1A264A
RGBrgb(26, 38, 74)
HSLhsl(225, 48%, 20%)
HSVhsv(225, 65%, 29%)
CMYKcmyk(64.9%, 48.6%, 0%, 71%)
CIE-LABlab(16.00, 7.81, -24.01)
CIE-LCHlch(16.00, 25.25, 288.02°)
OKLaboklab(27.87% -0.0025 -0.0684)
OKLCHoklch(27.87% 0.068 267.9)
XYZxyz(2.3547, 2.1001, 6.7585)
Luminance0.0210 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A264A #4A3E1A
analogous
#1A3E4A #1A264A #261A4A
triadic
#1A264A #4A1A26 #264A1A
tetradic
#1A264A #4A1A3E #4A3E1A #1A4A26
square
#1A264A #4A1A3E #4A3E1A #1A4A26
split-complementary
#1A264A #4A261A #3E4A1A
monochromatic
#080C17 #0A0F1D #1A264A #2A3D77 #3A55A5

Accessibility & contrast

On white

14.79
#1A264A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A264A
14.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A264A#FFFFFF#000000##FFFFFF
##1A264A1.0014.791.4214.79
#FFFFFF14.791.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162A4B
Deuteranopia (green-blind)
#0F2649
Tritanopia (blue-blind)
#002E34
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1a264a;
/* rgb */ color: rgb(26, 38, 74);
/* oklch */ color: oklch(27.9% 0.068 267.9);
Tailwind
colors: {
  custom: {
    50: '#5b5f7d',
    500: '#1a264a',
    950: '#000000',
  },
}
SCSS
$custom: #1a264a;
$custom-light: #5b5f7d;
$custom-dark: #000000;
JSON
{
  "hex": "#1a264a",
  "rgb": {
    "r": 26,
    "g": 38,
    "b": 74
  },
  "hsl": {
    "h": 225,
    "s": 48,
    "l": 19.608
  },
  "oklch": {
    "l": 0.27867,
    "c": 0.06843,
    "h": 267.9
  },
  "luminance": 0.021
}

Semantic roles & 50–950 ramp

primary
#1A264A
secondary
#807040
accent
#B650D8
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#040409
muted
#79797B

Preview Lab

Preview with #1A264A

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

Preview Lab → · Contrast checker → · Palette generator →

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