#1A2A5A#1A2A5A

#1A2A5A is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.1% C 0.089 H 267.1°. Best body text is #FFFFFF at 13.79:1 contrast (WCAG AA passes).

Color values

HEX#1A2A5A
RGBrgb(26, 42, 90)
HSLhsl(225, 55%, 23%)
HSVhsv(225, 71%, 35%)
CMYKcmyk(71.1%, 53.3%, 0%, 64.7%)
CIE-LABlab(18.42, 11.35, -30.92)
CIE-LCHlch(18.42, 32.94, 290.16°)
OKLaboklab(30.09% -0.0045 -0.0886)
OKLCHoklch(30.09% 0.089 267.1)
XYZxyz(3.0988, 2.6134, 10.0120)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2A5A #5A4A1A
analogous
#1A4A5A #1A2A5A #2A1A5A
triadic
#1A2A5A #5A1A2A #2A5A1A
tetradic
#1A2A5A #5A1A4A #5A4A1A #1A5A2A
square
#1A2A5A #5A1A4A #5A4A1A #1A5A2A
split-complementary
#1A2A5A #5A2A1A #4A5A1A
monochromatic
#070B18 #0C142B #1A2A5A #284089 #3556B9

Accessibility & contrast

On white

13.79
#1A2A5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#1A2A5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2A5A
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2A5A#FFFFFF#000000##FFFFFF
##1A2A5A1.0013.791.5213.79
#FFFFFF13.791.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10305C
Deuteranopia (green-blind)
#012A59
Tritanopia (blue-blind)
#00353D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1a2a5a;
/* rgb */ color: rgb(26, 42, 90);
/* oklch */ color: oklch(30.1% 0.089 267.1);
Tailwind
colors: {
  custom: {
    50: '#5f6389',
    500: '#1a2a5a',
    950: '#000000',
  },
}
SCSS
$custom: #1a2a5a;
$custom-light: #5f6389;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2a5a",
  "rgb": {
    "r": 26,
    "g": 42,
    "b": 90
  },
  "hsl": {
    "h": 225,
    "s": 55.172,
    "l": 22.745
  },
  "oklch": {
    "l": 0.30085,
    "c": 0.08874,
    "h": 267.1
  },
  "luminance": 0.02614
}

Semantic roles & 50–950 ramp

primary
#1A2A5A
secondary
#907C40
accent
#B949DF
background
#F5F5F8
surface
#EAEAF0
border
#C6C6CB
text
#05050B
muted
#79797C

Preview Lab

Preview with #1A2A5A

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

Preview Lab → · Contrast checker → · Palette generator →

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