#1A267D#1A267D

#1A267D is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.5% C 0.146 H 269.7°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#1A267D
RGBrgb(26, 38, 125)
HSLhsl(233, 66%, 30%)
HSVhsv(233, 79%, 49%)
CMYKcmyk(79.2%, 69.6%, 0%, 51%)
CIE-LABlab(20.39, 28.23, -50.46)
CIE-LCHlch(20.39, 57.82, 299.23°)
OKLaboklab(32.5% -0.0008 -0.146)
OKLCHoklch(32.5% 0.146 269.7)
XYZxyz(4.8195, 3.0860, 19.7397)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A267D #7D711A
analogous
#1A587D #1A267D #3F1A7D
triadic
#1A267D #7D1A26 #267D1A
tetradic
#1A267D #7D1A58 #7D711A #1A7D3F
square
#1A267D #7D1A58 #7D711A #1A7D3F
split-complementary
#1A267D #7D3F1A #587D1A
monochromatic
#050819 #0F174A #1A267D #2535B0 #3B4ED6

Accessibility & contrast

On white

12.98
#1A267D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#1A267D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A267D
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A267D#FFFFFF#000000##FFFFFF
##1A267D1.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003680
Deuteranopia (green-blind)
#002C7B
Tritanopia (blue-blind)
#003E4E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1a267d;
/* rgb */ color: rgb(26, 38, 125);
/* oklch */ color: oklch(32.5% 0.146 269.7);
Tailwind
colors: {
  custom: {
    50: '#6860a4',
    500: '#1a267d',
    950: '#000000',
  },
}
SCSS
$custom: #1a267d;
$custom-light: #6860a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1a267d",
  "rgb": {
    "r": 26,
    "g": 38,
    "b": 125
  },
  "hsl": {
    "h": 232.727,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.32503,
    "c": 0.14604,
    "h": 269.7
  },
  "luminance": 0.03087
}

Semantic roles & 50–950 ramp

primary
#1A267D
secondary
#B1A442
accent
#D43FE9
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #1A267D

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

Preview Lab → · Contrast checker → · Palette generator →

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