#1A245C#1A245C

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

Color values

HEX#1A245C
RGBrgb(26, 36, 92)
HSLhsl(231, 56%, 23%)
HSVhsv(231, 72%, 36%)
CMYKcmyk(71.7%, 60.9%, 0%, 63.9%)
CIE-LABlab(16.77, 16.57, -34.93)
CIE-LCHlch(16.77, 38.66, 295.38°)
OKLaboklab(28.89% 0.0019 -0.1005)
OKLCHoklch(28.89% 0.101 271.1)
XYZxyz(2.9880, 2.2538, 10.4007)
Luminance0.0225 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A245C #5C521A
analogous
#1A455C #1A245C #311A5C
triadic
#1A245C #5C1A24 #245C1A
tetradic
#1A245C #5C1A45 #5C521A #1A5C31
square
#1A245C #5C1A45 #5C521A #1A5C31
split-complementary
#1A245C #5C311A #455C1A
monochromatic
#070918 #0D112C #1A245C #27378C #3549BB

Accessibility & contrast

On white

14.47
#1A245C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A245C
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A245C#FFFFFF#000000##FFFFFF
##1A245C1.0014.471.4514.47
#FFFFFF14.471.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C5E
Deuteranopia (green-blind)
#00265B
Tritanopia (blue-blind)
#00323C
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #1a245c;
/* rgb */ color: rgb(26, 36, 92);
/* oklch */ color: oklch(28.9% 0.101 271.1);
Tailwind
colors: {
  custom: {
    50: '#605e8b',
    500: '#1a245c',
    950: '#000000',
  },
}
SCSS
$custom: #1a245c;
$custom-light: #605e8b;
$custom-dark: #000000;
JSON
{
  "hex": "#1a245c",
  "rgb": {
    "r": 26,
    "g": 36,
    "b": 92
  },
  "hsl": {
    "h": 230.909,
    "s": 55.932,
    "l": 23.137
  },
  "oklch": {
    "l": 0.28885,
    "c": 0.10055,
    "h": 271.1
  },
  "luminance": 0.02254
}

Semantic roles & 50–950 ramp

primary
#1A245C
secondary
#928640
accent
#C849DF
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #1A245C

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

Preview Lab → · Contrast checker → · Palette generator →

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