#1A268F#1A268F

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

Color values

HEX#1A268F
RGBrgb(26, 38, 143)
HSLhsl(234, 69%, 33%)
HSVhsv(234, 82%, 56%)
CMYKcmyk(81.8%, 73.4%, 0%, 43.9%)
CIE-LABlab(22.26, 35.00, -58.67)
CIE-LCHlch(22.26, 68.32, 300.82°)
OKLaboklab(34.42% -0.0027 -0.17)
OKLCHoklch(34.42% 0.17 269.1)
XYZxyz(6.0753, 3.5883, 26.3537)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A268F #8F831A
analogous
#1A608F #1A268F #481A8F
triadic
#1A268F #8F1A26 #268F1A
tetradic
#1A268F #8F1A60 #8F831A #1A8F48
square
#1A268F #8F1A60 #8F831A #1A8F48
split-complementary
#1A268F #8F481A #608F1A
monochromatic
#070A27 #11185B #1A268F #2334C3 #4656DD

Accessibility & contrast

On white

12.22
#1A268F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#1A268F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A268F
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A268F#FFFFFF#000000##FFFFFF
##1A268F1.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B92
Deuteranopia (green-blind)
#002F8D
Tritanopia (blue-blind)
#004458
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1a268f;
/* rgb */ color: rgb(26, 38, 143);
/* oklch */ color: oklch(34.4% 0.170 269.1);
Tailwind
colors: {
  custom: {
    50: '#6d61b1',
    500: '#1a268f',
    950: '#000000',
  },
}
SCSS
$custom: #1a268f;
$custom-light: #6d61b1;
$custom-dark: #000000;
JSON
{
  "hex": "#1a268f",
  "rgb": {
    "r": 26,
    "g": 38,
    "b": 143
  },
  "hsl": {
    "h": 233.846,
    "s": 69.231,
    "l": 33.137
  },
  "oklch": {
    "l": 0.34424,
    "c": 0.17,
    "h": 269.1
  },
  "luminance": 0.03589
}

Semantic roles & 50–950 ramp

primary
#1A268F
secondary
#BFB246
accent
#DA3CEC
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#080511
muted
#7B7980

Preview Lab

Preview with #1A268F

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

Preview Lab → · Contrast checker → · Palette generator →

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