#1A268D#1A268D

#1A268D is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.2% C 0.167 H 269.1°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#1A268D
RGBrgb(26, 38, 141)
HSLhsl(234, 69%, 33%)
HSVhsv(234, 82%, 55%)
CMYKcmyk(81.6%, 73%, 0%, 44.7%)
CIE-LABlab(22.05, 34.26, -57.78)
CIE-LCHlch(22.05, 67.18, 300.67°)
OKLaboklab(34.21% -0.0025 -0.1674)
OKLCHoklch(34.21% 0.167 269.1)
XYZxyz(5.9252, 3.5282, 25.5629)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A268D #8D811A
analogous
#1A5F8D #1A268D #471A8D
triadic
#1A268D #8D1A26 #268D1A
tetradic
#1A268D #8D1A5F #8D811A #1A8D47
square
#1A268D #8D1A5F #8D811A #1A8D47
split-complementary
#1A268D #8D471A #5F8D1A
monochromatic
#070A26 #101859 #1A268D #2434C1 #4555DD

Accessibility & contrast

On white

12.31
#1A268D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A268D
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A268D#FFFFFF#000000##FFFFFF
##1A268D1.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A90
Deuteranopia (green-blind)
#002F8B
Tritanopia (blue-blind)
#004357
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1a268d;
/* rgb */ color: rgb(26, 38, 141);
/* oklch */ color: oklch(34.2% 0.167 269.1);
Tailwind
colors: {
  custom: {
    50: '#6d61af',
    500: '#1a268d',
    950: '#000000',
  },
}
SCSS
$custom: #1a268d;
$custom-light: #6d61af;
$custom-dark: #000000;
JSON
{
  "hex": "#1a268d",
  "rgb": {
    "r": 26,
    "g": 38,
    "b": 141
  },
  "hsl": {
    "h": 233.739,
    "s": 68.862,
    "l": 32.745
  },
  "oklch": {
    "l": 0.34205,
    "c": 0.16741,
    "h": 269.1
  },
  "luminance": 0.03529
}

Semantic roles & 50–950 ramp

primary
#1A268D
secondary
#BEB145
accent
#D93CEC
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#080511
muted
#7B7980

Preview Lab

Preview with #1A268D

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

Preview Lab → · Contrast checker → · Palette generator →

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