#1A255C#1A255C

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

Color values

HEX#1A255C
RGBrgb(26, 37, 92)
HSLhsl(230, 56%, 23%)
HSVhsv(230, 72%, 36%)
CMYKcmyk(71.7%, 59.8%, 0%, 63.9%)
CIE-LABlab(17.06, 15.84, -34.45)
CIE-LCHlch(17.06, 37.92, 294.69°)
OKLaboklab(29.11% 0.0009 -0.0991)
OKLCHoklch(29.11% 0.099 270.5)
XYZxyz(3.0187, 2.3152, 10.4109)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A255C #5C511A
analogous
#1A465C #1A255C #301A5C
triadic
#1A255C #5C1A25 #255C1A
tetradic
#1A255C #5C1A46 #5C511A #1A5C30
square
#1A255C #5C1A46 #5C511A #1A5C30
split-complementary
#1A255C #5C301A #465C1A
monochromatic
#070A18 #0D122C #1A255C #27388C #354BBB

Accessibility & contrast

On white

14.35
#1A255C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A255C
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A255C#FFFFFF#000000##FFFFFF
##1A255C1.0014.351.4614.35
#FFFFFF14.351.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a255c;
/* rgb */ color: rgb(26, 37, 92);
/* oklch */ color: oklch(29.1% 0.099 270.5);
Tailwind
colors: {
  custom: {
    50: '#605f8b',
    500: '#1a255c',
    950: '#000000',
  },
}
SCSS
$custom: #1a255c;
$custom-light: #605f8b;
$custom-dark: #000000;
JSON
{
  "hex": "#1a255c",
  "rgb": {
    "r": 26,
    "g": 37,
    "b": 92
  },
  "hsl": {
    "h": 230,
    "s": 55.932,
    "l": 23.137
  },
  "oklch": {
    "l": 0.29106,
    "c": 0.09911,
    "h": 270.5
  },
  "luminance": 0.02315
}

Semantic roles & 50–950 ramp

primary
#1A255C
secondary
#928440
accent
#C649DF
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #1A255C

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

Preview Lab → · Contrast checker → · Palette generator →

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