#1A267A#1A267A

#1A267A is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.2% C 0.142 H 269.8°. Best body text is #FFFFFF at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#1A267A
RGBrgb(26, 38, 122)
HSLhsl(233, 65%, 29%)
HSVhsv(233, 79%, 48%)
CMYKcmyk(78.7%, 68.9%, 0%, 52.2%)
CIE-LABlab(20.09, 27.07, -49.04)
CIE-LCHlch(20.09, 56.02, 298.90°)
OKLaboklab(32.19% -0.0006 -0.1419)
OKLCHoklch(32.19% 0.142 269.8)
XYZxyz(4.6308, 3.0105, 18.7456)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A267A #7A6E1A
analogous
#1A567A #1A267A #3E1A7A
triadic
#1A267A #7A1A26 #267A1A
tetradic
#1A267A #7A1A56 #7A6E1A #1A7A3E
square
#1A267A #7A1A56 #7A6E1A #1A7A3E
split-complementary
#1A267A #7A3E1A #567A1A
monochromatic
#050819 #0F1648 #1A267A #2536AC #394DD5

Accessibility & contrast

On white

13.11
#1A267A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#1A267A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A267A
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A267A#FFFFFF#000000##FFFFFF
##1A267A1.0013.111.6013.11
#FFFFFF13.111.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357D
Deuteranopia (green-blind)
#002C78
Tritanopia (blue-blind)
#003D4C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1a267a;
/* rgb */ color: rgb(26, 38, 122);
/* oklch */ color: oklch(32.2% 0.142 269.8);
Tailwind
colors: {
  custom: {
    50: '#6860a1',
    500: '#1a267a',
    950: '#000000',
  },
}
SCSS
$custom: #1a267a;
$custom-light: #6860a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1a267a",
  "rgb": {
    "r": 26,
    "g": 38,
    "b": 122
  },
  "hsl": {
    "h": 232.5,
    "s": 64.865,
    "l": 29.02
  },
  "oklch": {
    "l": 0.32194,
    "c": 0.1419,
    "h": 269.8
  },
  "luminance": 0.03011
}

Semantic roles & 50–950 ramp

primary
#1A267A
secondary
#AEA141
accent
#D340E8
background
#F6F5FA
surface
#EBE9F3
border
#C6C5CD
text
#07050F
muted
#7A797F

Preview Lab

Preview with #1A267A

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

Preview Lab → · Contrast checker → · Palette generator →

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