#1A267C#1A267C

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

Color values

HEX#1A267C
RGBrgb(26, 38, 124)
HSLhsl(233, 65%, 29%)
HSVhsv(233, 79%, 49%)
CMYKcmyk(79%, 69.4%, 0%, 51.4%)
CIE-LABlab(20.29, 27.85, -49.99)
CIE-LCHlch(20.29, 57.22, 299.12°)
OKLaboklab(32.4% -0.0007 -0.1447)
OKLCHoklch(32.4% 0.145 269.7)
XYZxyz(4.7560, 3.0606, 19.4050)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A267C #7C701A
analogous
#1A577C #1A267C #3F1A7C
triadic
#1A267C #7C1A26 #267C1A
tetradic
#1A267C #7C1A57 #7C701A #1A7C3F
square
#1A267C #7C1A57 #7C701A #1A7C3F
split-complementary
#1A267C #7C3F1A #577C1A
monochromatic
#050819 #0F1649 #1A267C #2536AF #3B4ED6

Accessibility & contrast

On white

13.03
#1A267C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#1A267C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A267C
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A267C#FFFFFF#000000##FFFFFF
##1A267C1.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367F
Deuteranopia (green-blind)
#002C7A
Tritanopia (blue-blind)
#003D4D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1a267c;
/* rgb */ color: rgb(26, 38, 124);
/* oklch */ color: oklch(32.4% 0.145 269.7);
Tailwind
colors: {
  custom: {
    50: '#6860a3',
    500: '#1a267c',
    950: '#000000',
  },
}
SCSS
$custom: #1a267c;
$custom-light: #6860a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1a267c",
  "rgb": {
    "r": 26,
    "g": 38,
    "b": 124
  },
  "hsl": {
    "h": 232.653,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.324,
    "c": 0.14466,
    "h": 269.7
  },
  "luminance": 0.03061
}

Semantic roles & 50–950 ramp

primary
#1A267C
secondary
#B0A342
accent
#D440E8
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #1A267C

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

Preview Lab → · Contrast checker → · Palette generator →

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