#1A255A#1A255A

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

Color values

HEX#1A255A
RGBrgb(26, 37, 90)
HSLhsl(230, 55%, 23%)
HSVhsv(230, 71%, 35%)
CMYKcmyk(71.1%, 58.9%, 0%, 64.7%)
CIE-LABlab(16.90, 15.02, -33.39)
CIE-LCHlch(16.90, 36.61, 294.23°)
OKLaboklab(28.93% 0.0008 -0.096)
OKLCHoklch(28.93% 0.096 270.5)
XYZxyz(2.9324, 2.2807, 9.9566)
Luminance0.0228 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A255A #5A4F1A
analogous
#1A455A #1A255A #2F1A5A
triadic
#1A255A #5A1A25 #255A1A
tetradic
#1A255A #5A1A45 #5A4F1A #1A5A2F
square
#1A255A #5A1A45 #5A4F1A #1A5A2F
split-complementary
#1A255A #5A2F1A #455A1A
monochromatic
#070A18 #0C112B #1A255A #283989 #354CB9

Accessibility & contrast

On white

14.42
#1A255A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A255A
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A255A#FFFFFF#000000##FFFFFF
##1A255A1.0014.421.4614.42
#FFFFFF14.421.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D5C
Deuteranopia (green-blind)
#002759
Tritanopia (blue-blind)
#00323B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1a255a;
/* rgb */ color: rgb(26, 37, 90);
/* oklch */ color: oklch(28.9% 0.096 270.5);
Tailwind
colors: {
  custom: {
    50: '#5f5f89',
    500: '#1a255a',
    950: '#000000',
  },
}
SCSS
$custom: #1a255a;
$custom-light: #5f5f89;
$custom-dark: #000000;
JSON
{
  "hex": "#1a255a",
  "rgb": {
    "r": 26,
    "g": 37,
    "b": 90
  },
  "hsl": {
    "h": 229.688,
    "s": 55.172,
    "l": 22.745
  },
  "oklch": {
    "l": 0.2893,
    "c": 0.09597,
    "h": 270.5
  },
  "luminance": 0.02281
}

Semantic roles & 50–950 ramp

primary
#1A255A
secondary
#908240
accent
#C549DF
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040B
muted
#79797C

Preview Lab

Preview with #1A255A

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

Preview Lab → · Contrast checker → · Palette generator →

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