#1A2E5D#1A2E5D

#1A2E5D is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.3% C 0.088 H 264.5°. Best body text is #FFFFFF at 13.18:1 contrast (WCAG AA passes).

Color values

HEX#1A2E5D
RGBrgb(26, 46, 93)
HSLhsl(222, 56%, 23%)
HSVhsv(222, 72%, 36%)
CMYKcmyk(72%, 50.5%, 0%, 63.5%)
CIE-LABlab(19.90, 9.66, -30.54)
CIE-LCHlch(19.90, 32.03, 287.56°)
OKLaboklab(31.28% -0.0084 -0.0874)
OKLCHoklch(31.28% 0.088 264.5)
XYZxyz(3.3781, 2.9636, 10.7478)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2E5D #5D491A
analogous
#1A4F5D #1A2E5D #271A5D
triadic
#1A2E5D #5D1A2E #2E5D1A
tetradic
#1A2E5D #5D1A4F #5D491A #1A5D27
square
#1A2E5D #5D1A4F #5D491A #1A5D27
split-complementary
#1A2E5D #5D271A #4F5D1A
monochromatic
#070C18 #0D162D #1A2E5D #27468D #355DBD

Accessibility & contrast

On white

13.18
#1A2E5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#1A2E5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2E5D
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2E5D#FFFFFF#000000##FFFFFF
##1A2E5D1.0013.181.5913.18
#FFFFFF13.181.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16335F
Deuteranopia (green-blind)
#082D5C
Tritanopia (blue-blind)
#003941
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1a2e5d;
/* rgb */ color: rgb(26, 46, 93);
/* oklch */ color: oklch(31.3% 0.088 264.5);
Tailwind
colors: {
  custom: {
    50: '#5f668b',
    500: '#1a2e5d',
    950: '#000000',
  },
}
SCSS
$custom: #1a2e5d;
$custom-light: #5f668b;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2e5d",
  "rgb": {
    "r": 26,
    "g": 46,
    "b": 93
  },
  "hsl": {
    "h": 222.09,
    "s": 56.303,
    "l": 23.333
  },
  "oklch": {
    "l": 0.3128,
    "c": 0.08784,
    "h": 264.5
  },
  "luminance": 0.02964
}

Semantic roles & 50–950 ramp

primary
#1A2E5D
secondary
#937A40
accent
#B248E0
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05050C
muted
#797A7D

Preview Lab

Preview with #1A2E5D

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

Preview Lab → · Contrast checker → · Palette generator →

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