#1A335E#1A335E

#1A335E is a dark, moderate blue. Relative luminance 0.034; OKLCH L 32.6% C 0.083 H 260.5°. Best body text is #FFFFFF at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#1A335E
RGBrgb(26, 51, 94)
HSLhsl(218, 57%, 24%)
HSVhsv(218, 72%, 37%)
CMYKcmyk(72.3%, 45.7%, 0%, 63.1%)
CIE-LABlab(21.56, 6.47, -28.53)
CIE-LCHlch(21.56, 29.26, 282.78°)
OKLaboklab(32.58% -0.0136 -0.0815)
OKLCHoklch(32.58% 0.083 260.5)
XYZxyz(3.6295, 3.3951, 11.0515)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A335E #5E451A
analogous
#1A555E #1A335E #231A5E
triadic
#1A335E #5E1A33 #335E1A
tetradic
#1A335E #5E1A55 #5E451A #1A5E23
square
#1A335E #5E1A55 #5E451A #1A5E23
split-complementary
#1A335E #5E231A #555E1A
monochromatic
#070D18 #0D192E #1A335E #274D8E #3567BE

Accessibility & contrast

On white

12.51
#1A335E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#1A335E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A335E
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A335E#FFFFFF#000000##FFFFFF
##1A335E1.0012.511.6812.51
#FFFFFF12.511.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3760
Deuteranopia (green-blind)
#14315D
Tritanopia (blue-blind)
#003D43
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1a335e;
/* rgb */ color: rgb(26, 51, 94);
/* oklch */ color: oklch(32.6% 0.083 260.5);
Tailwind
colors: {
  custom: {
    50: '#5f6a8c',
    500: '#1a335e',
    950: '#000000',
  },
}
SCSS
$custom: #1a335e;
$custom-light: #5f6a8c;
$custom-dark: #000000;
JSON
{
  "hex": "#1a335e",
  "rgb": {
    "r": 26,
    "g": 51,
    "b": 94
  },
  "hsl": {
    "h": 217.941,
    "s": 56.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.32581,
    "c": 0.08259,
    "h": 260.5
  },
  "luminance": 0.03395
}

Semantic roles & 50–950 ramp

primary
#1A335E
secondary
#947540
accent
#A848E0
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #1A335E

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

Preview Lab → · Contrast checker → · Palette generator →

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