#1A255D#1A255D

#1A255D is a dark, moderate blue. Relative luminance 0.023; OKLCH L 29.2% C 0.101 H 270.5°. Best body text is #FFFFFF at 14.32:1 contrast (WCAG AA passes).

Color values

HEX#1A255D
RGBrgb(26, 37, 93)
HSLhsl(230, 56%, 23%)
HSVhsv(230, 72%, 36%)
CMYKcmyk(72%, 60.2%, 0%, 63.5%)
CIE-LABlab(17.14, 16.24, -34.98)
CIE-LCHlch(17.14, 38.57, 294.91°)
OKLaboklab(29.2% 0.0009 -0.1007)
OKLCHoklch(29.2% 0.101 270.5)
XYZxyz(3.0627, 2.3328, 10.6427)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A255D #5D521A
analogous
#1A465D #1A255D #301A5D
triadic
#1A255D #5D1A25 #255D1A
tetradic
#1A255D #5D1A46 #5D521A #1A5D30
square
#1A255D #5D1A46 #5D521A #1A5D30
split-complementary
#1A255D #5D301A #465D1A
monochromatic
#070A18 #0D122D #1A255D #27388D #354BBD

Accessibility & contrast

On white

14.32
#1A255D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#1A255D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A255D
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A255D#FFFFFF#000000##FFFFFF
##1A255D1.0014.321.4714.32
#FFFFFF14.321.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D5F
Deuteranopia (green-blind)
#00275C
Tritanopia (blue-blind)
#00333D
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1a255d;
/* rgb */ color: rgb(26, 37, 93);
/* oklch */ color: oklch(29.2% 0.101 270.5);
Tailwind
colors: {
  custom: {
    50: '#605f8b',
    500: '#1a255d',
    950: '#000000',
  },
}
SCSS
$custom: #1a255d;
$custom-light: #605f8b;
$custom-dark: #000000;
JSON
{
  "hex": "#1a255d",
  "rgb": {
    "r": 26,
    "g": 37,
    "b": 93
  },
  "hsl": {
    "h": 230.149,
    "s": 56.303,
    "l": 23.333
  },
  "oklch": {
    "l": 0.29195,
    "c": 0.10066,
    "h": 270.5
  },
  "luminance": 0.02333
}

Semantic roles & 50–950 ramp

primary
#1A255D
secondary
#938540
accent
#C748E0
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #1A255D

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

Preview Lab → · Contrast checker → · Palette generator →

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