#1A267F#1A267F

#1A267F is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.7% C 0.149 H 269.6°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#1A267F
RGBrgb(26, 38, 127)
HSLhsl(233, 66%, 30%)
HSVhsv(233, 80%, 50%)
CMYKcmyk(79.5%, 70.1%, 0%, 50.2%)
CIE-LABlab(20.59, 29.00, -51.40)
CIE-LCHlch(20.59, 59.02, 299.43°)
OKLaboklab(32.71% -0.001 -0.1488)
OKLCHoklch(32.71% 0.149 269.6)
XYZxyz(4.9486, 3.1376, 20.4194)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A267F #7F731A
analogous
#1A597F #1A267F #401A7F
triadic
#1A267F #7F1A26 #267F1A
tetradic
#1A267F #7F1A59 #7F731A #1A7F40
square
#1A267F #7F1A59 #7F731A #1A7F40
split-complementary
#1A267F #7F401A #597F1A
monochromatic
#050819 #10174C #1A267F #2435B2 #3C4FD7

Accessibility & contrast

On white

12.90
#1A267F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#1A267F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A267F
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A267F#FFFFFF#000000##FFFFFF
##1A267F1.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003682
Deuteranopia (green-blind)
#002D7D
Tritanopia (blue-blind)
#003E4F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1a267f;
/* rgb */ color: rgb(26, 38, 127);
/* oklch */ color: oklch(32.7% 0.149 269.6);
Tailwind
colors: {
  custom: {
    50: '#6960a5',
    500: '#1a267f',
    950: '#000000',
  },
}
SCSS
$custom: #1a267f;
$custom-light: #6960a5;
$custom-dark: #000000;
JSON
{
  "hex": "#1a267f",
  "rgb": {
    "r": 26,
    "g": 38,
    "b": 127
  },
  "hsl": {
    "h": 232.871,
    "s": 66.013,
    "l": 30
  },
  "oklch": {
    "l": 0.32711,
    "c": 0.14878,
    "h": 269.6
  },
  "luminance": 0.03138
}

Semantic roles & 50–950 ramp

primary
#1A267F
secondary
#B3A642
accent
#D53FE9
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #1A267F

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

Preview Lab → · Contrast checker → · Palette generator →

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