#1A265C#1A265C

#1A265C is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.3% C 0.098 H 269.9°. Best body text is #FFFFFF at 14.23:1 contrast (WCAG AA passes).

Color values

HEX#1A265C
RGBrgb(26, 38, 92)
HSLhsl(229, 56%, 23%)
HSVhsv(229, 72%, 36%)
CMYKcmyk(71.7%, 58.7%, 0%, 63.9%)
CIE-LABlab(17.36, 15.10, -33.97)
CIE-LCHlch(17.36, 37.18, 293.97°)
OKLaboklab(29.33% -0.0001 -0.0977)
OKLCHoklch(29.33% 0.098 269.9)
XYZxyz(3.0502, 2.3783, 10.4214)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A265C #5C501A
analogous
#1A475C #1A265C #2F1A5C
triadic
#1A265C #5C1A26 #265C1A
tetradic
#1A265C #5C1A47 #5C501A #1A5C2F
square
#1A265C #5C1A47 #5C501A #1A5C2F
split-complementary
#1A265C #5C2F1A #475C1A
monochromatic
#070A18 #0D122C #1A265C #273A8C #354DBB

Accessibility & contrast

On white

14.23
#1A265C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#1A265C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A265C
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A265C#FFFFFF#000000##FFFFFF
##1A265C1.0014.231.4814.23
#FFFFFF14.231.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E5E
Deuteranopia (green-blind)
#00285B
Tritanopia (blue-blind)
#00333D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #1a265c;
/* rgb */ color: rgb(26, 38, 92);
/* oklch */ color: oklch(29.3% 0.098 269.9);
Tailwind
colors: {
  custom: {
    50: '#60608b',
    500: '#1a265c',
    950: '#000000',
  },
}
SCSS
$custom: #1a265c;
$custom-light: #60608b;
$custom-dark: #000000;
JSON
{
  "hex": "#1a265c",
  "rgb": {
    "r": 26,
    "g": 38,
    "b": 92
  },
  "hsl": {
    "h": 229.091,
    "s": 55.932,
    "l": 23.137
  },
  "oklch": {
    "l": 0.29329,
    "c": 0.09767,
    "h": 269.9
  },
  "luminance": 0.02379
}

Semantic roles & 50–950 ramp

primary
#1A265C
secondary
#928340
accent
#C449DF
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #1A265C

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

Preview Lab → · Contrast checker → · Palette generator →

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