#1A267E#1A267E

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

Color values

HEX#1A267E
RGBrgb(26, 38, 126)
HSLhsl(233, 66%, 30%)
HSVhsv(233, 79%, 49%)
CMYKcmyk(79.4%, 69.8%, 0%, 50.6%)
CIE-LABlab(20.49, 28.62, -50.93)
CIE-LCHlch(20.49, 58.42, 299.33°)
OKLaboklab(32.61% -0.0009 -0.1474)
OKLCHoklch(32.61% 0.147 269.7)
XYZxyz(4.8837, 3.1117, 20.0778)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A267E #7E721A
analogous
#1A587E #1A267E #401A7E
triadic
#1A267E #7E1A26 #267E1A
tetradic
#1A267E #7E1A58 #7E721A #1A7E40
square
#1A267E #7E1A58 #7E721A #1A7E40
split-complementary
#1A267E #7E401A #587E1A
monochromatic
#050819 #10174B #1A267E #2435B1 #3C4ED7

Accessibility & contrast

On white

12.94
#1A267E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A267E
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A267E#FFFFFF#000000##FFFFFF
##1A267E1.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a267e;
/* rgb */ color: rgb(26, 38, 126);
/* oklch */ color: oklch(32.6% 0.147 269.7);
Tailwind
colors: {
  custom: {
    50: '#6960a4',
    500: '#1a267e',
    950: '#000000',
  },
}
SCSS
$custom: #1a267e;
$custom-light: #6960a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1a267e",
  "rgb": {
    "r": 26,
    "g": 38,
    "b": 126
  },
  "hsl": {
    "h": 232.8,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.32607,
    "c": 0.14741,
    "h": 269.7
  },
  "luminance": 0.03112
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1A267E

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

Preview Lab → · Contrast checker → · Palette generator →

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