#1A2A5F#1A2A5F

#1A2A5F is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.5% C 0.097 H 267.7°. Best body text is #FFFFFF at 13.63:1 contrast (WCAG AA passes).

Color values

HEX#1A2A5F
RGBrgb(26, 42, 95)
HSLhsl(226, 57%, 24%)
HSVhsv(226, 73%, 37%)
CMYKcmyk(72.6%, 55.8%, 0%, 62.7%)
CIE-LABlab(18.81, 13.40, -33.62)
CIE-LCHlch(18.81, 36.19, 291.73°)
OKLaboklab(30.5% -0.0039 -0.0966)
OKLCHoklch(30.5% 0.097 267.7)
XYZxyz(3.3188, 2.7014, 11.1708)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2A5F #5F4F1A
analogous
#1A4C5F #1A2A5F #2C1A5F
triadic
#1A2A5F #5F1A2A #2A5F1A
tetradic
#1A2A5F #5F1A4C #5F4F1A #1A5F2C
square
#1A2A5F #5F1A4C #5F4F1A #1A5F2C
split-complementary
#1A2A5F #5F2C1A #4C5F1A
monochromatic
#070B18 #0D152F #1A2A5F #273F8F #3454BF

Accessibility & contrast

On white

13.63
#1A2A5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#1A2A5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2A5F
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2A5F#FFFFFF#000000##FFFFFF
##1A2A5F1.0013.631.5413.63
#FFFFFF13.631.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#083161
Deuteranopia (green-blind)
#002B5E
Tritanopia (blue-blind)
#003740
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1a2a5f;
/* rgb */ color: rgb(26, 42, 95);
/* oklch */ color: oklch(30.5% 0.097 267.7);
Tailwind
colors: {
  custom: {
    50: '#60638d',
    500: '#1a2a5f',
    950: '#000000',
  },
}
SCSS
$custom: #1a2a5f;
$custom-light: #60638d;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2a5f",
  "rgb": {
    "r": 26,
    "g": 42,
    "b": 95
  },
  "hsl": {
    "h": 226.087,
    "s": 57.025,
    "l": 23.725
  },
  "oklch": {
    "l": 0.30497,
    "c": 0.09665,
    "h": 267.7
  },
  "luminance": 0.02702
}

Semantic roles & 50–950 ramp

primary
#1A2A5F
secondary
#958140
accent
#BD48E0
background
#F5F5F8
surface
#EAEAF0
border
#C6C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #1A2A5F

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

Preview Lab → · Contrast checker → · Palette generator →

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