#1A245D#1A245D

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

Color values

HEX#1A245D
RGBrgb(26, 36, 93)
HSLhsl(231, 56%, 23%)
HSVhsv(231, 72%, 36%)
CMYKcmyk(72%, 61.3%, 0%, 63.5%)
CIE-LABlab(16.85, 16.97, -35.46)
CIE-LCHlch(16.85, 39.31, 295.58°)
OKLaboklab(28.98% 0.0019 -0.1021)
OKLCHoklch(28.98% 0.102 271.1)
XYZxyz(3.0320, 2.2714, 10.6324)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A245D #5D531A
analogous
#1A455D #1A245D #311A5D
triadic
#1A245D #5D1A24 #245D1A
tetradic
#1A245D #5D1A45 #5D531A #1A5D31
square
#1A245D #5D1A45 #5D531A #1A5D31
split-complementary
#1A245D #5D311A #455D1A
monochromatic
#070918 #0D112D #1A245D #27378D #3549BD

Accessibility & contrast

On white

14.44
#1A245D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#1A245D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A245D
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A245D#FFFFFF#000000##FFFFFF
##1A245D1.0014.441.4514.44
#FFFFFF14.441.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a245d;
/* rgb */ color: rgb(26, 36, 93);
/* oklch */ color: oklch(29.0% 0.102 271.1);
Tailwind
colors: {
  custom: {
    50: '#605e8b',
    500: '#1a245d',
    950: '#000000',
  },
}
SCSS
$custom: #1a245d;
$custom-light: #605e8b;
$custom-dark: #000000;
JSON
{
  "hex": "#1a245d",
  "rgb": {
    "r": 26,
    "g": 36,
    "b": 93
  },
  "hsl": {
    "h": 231.045,
    "s": 56.303,
    "l": 23.333
  },
  "oklch": {
    "l": 0.28975,
    "c": 0.1021,
    "h": 271.1
  },
  "luminance": 0.02272
}

Semantic roles & 50–950 ramp

primary
#1A245D
secondary
#938740
accent
#C948E0
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #1A245D

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

Preview Lab → · Contrast checker → · Palette generator →

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