#1A268E#1A268E

#1A268E is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.3% C 0.169 H 269.1°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#1A268E
RGBrgb(26, 38, 142)
HSLhsl(234, 69%, 33%)
HSVhsv(234, 82%, 56%)
CMYKcmyk(81.7%, 73.2%, 0%, 44.3%)
CIE-LABlab(22.15, 34.63, -58.23)
CIE-LCHlch(22.15, 67.75, 300.74°)
OKLaboklab(34.31% -0.0026 -0.1687)
OKLCHoklch(34.31% 0.169 269.1)
XYZxyz(5.9999, 3.5581, 25.9565)
Luminance0.0356 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A268E #8E821A
analogous
#1A608E #1A268E #481A8E
triadic
#1A268E #8E1A26 #268E1A
tetradic
#1A268E #8E1A60 #8E821A #1A8E48
square
#1A268E #8E1A60 #8E821A #1A8E48
split-complementary
#1A268E #8E481A #608E1A
monochromatic
#070A27 #11185A #1A268E #2334C2 #4555DD

Accessibility & contrast

On white

12.27
#1A268E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#1A268E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A268E
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A268E#FFFFFF#000000##FFFFFF
##1A268E1.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B91
Deuteranopia (green-blind)
#002F8C
Tritanopia (blue-blind)
#004457
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1a268e;
/* rgb */ color: rgb(26, 38, 142);
/* oklch */ color: oklch(34.3% 0.169 269.1);
Tailwind
colors: {
  custom: {
    50: '#6d61b0',
    500: '#1a268e',
    950: '#000000',
  },
}
SCSS
$custom: #1a268e;
$custom-light: #6d61b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1a268e",
  "rgb": {
    "r": 26,
    "g": 38,
    "b": 142
  },
  "hsl": {
    "h": 233.793,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.34314,
    "c": 0.16871,
    "h": 269.1
  },
  "luminance": 0.03559
}

Semantic roles & 50–950 ramp

primary
#1A268E
secondary
#BEB245
accent
#DA3CEC
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#080511
muted
#7B7980

Preview Lab

Preview with #1A268E

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

Preview Lab → · Contrast checker → · Palette generator →

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