#1A255B#1A255B

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

Color values

HEX#1A255B
RGBrgb(26, 37, 91)
HSLhsl(230, 56%, 23%)
HSVhsv(230, 71%, 36%)
CMYKcmyk(71.4%, 59.3%, 0%, 64.3%)
CIE-LABlab(16.98, 15.43, -33.92)
CIE-LCHlch(16.98, 37.27, 294.46°)
OKLaboklab(29.02% 0.0008 -0.0975)
OKLCHoklch(29.02% 0.098 270.5)
XYZxyz(2.9753, 2.2978, 10.1822)
Luminance0.0230 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A255B #5B501A
analogous
#1A455B #1A255B #2F1A5B
triadic
#1A255B #5B1A25 #255B1A
tetradic
#1A255B #5B1A45 #5B501A #1A5B2F
square
#1A255B #5B1A45 #5B501A #1A5B2F
split-complementary
#1A255B #5B2F1A #455B1A
monochromatic
#070A18 #0C122B #1A255B #28388B #354CBA

Accessibility & contrast

On white

14.39
#1A255B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#1A255B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A255B
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A255B#FFFFFF#000000##FFFFFF
##1A255B1.0014.391.4614.39
#FFFFFF14.391.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D5D
Deuteranopia (green-blind)
#00275A
Tritanopia (blue-blind)
#00323C
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1a255b;
/* rgb */ color: rgb(26, 37, 91);
/* oklch */ color: oklch(29.0% 0.098 270.5);
Tailwind
colors: {
  custom: {
    50: '#5f5f8a',
    500: '#1a255b',
    950: '#000000',
  },
}
SCSS
$custom: #1a255b;
$custom-light: #5f5f8a;
$custom-dark: #000000;
JSON
{
  "hex": "#1a255b",
  "rgb": {
    "r": 26,
    "g": 37,
    "b": 91
  },
  "hsl": {
    "h": 229.846,
    "s": 55.556,
    "l": 22.941
  },
  "oklch": {
    "l": 0.29017,
    "c": 0.09754,
    "h": 270.5
  },
  "luminance": 0.02298
}

Semantic roles & 50–950 ramp

primary
#1A255B
secondary
#918340
accent
#C549DF
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #1A255B

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

Preview Lab → · Contrast checker → · Palette generator →

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