#1A255E#1A255E

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

Color values

HEX#1A255E
RGBrgb(26, 37, 94)
HSLhsl(230, 57%, 24%)
HSVhsv(230, 72%, 37%)
CMYKcmyk(72.3%, 60.6%, 0%, 63.1%)
CIE-LABlab(17.23, 16.65, -35.51)
CIE-LCHlch(17.23, 39.22, 295.12°)
OKLaboklab(29.28% 0.001 -0.1022)
OKLCHoklch(29.28% 0.102 270.5)
XYZxyz(3.1073, 2.3506, 10.8775)
Luminance0.0235 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A255E #5E531A
analogous
#1A475E #1A255E #311A5E
triadic
#1A255E #5E1A25 #255E1A
tetradic
#1A255E #5E1A47 #5E531A #1A5E31
square
#1A255E #5E1A47 #5E531A #1A5E31
split-complementary
#1A255E #5E311A #475E1A
monochromatic
#070918 #0D122E #1A255E #27388E #354BBE

Accessibility & contrast

On white

14.28
#1A255E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#1A255E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A255E
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A255E#FFFFFF#000000##FFFFFF
##1A255E1.0014.281.4714.28
#FFFFFF14.281.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E60
Deuteranopia (green-blind)
#00275D
Tritanopia (blue-blind)
#00333D
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1a255e;
/* rgb */ color: rgb(26, 37, 94);
/* oklch */ color: oklch(29.3% 0.102 270.5);
Tailwind
colors: {
  custom: {
    50: '#605f8c',
    500: '#1a255e',
    950: '#000000',
  },
}
SCSS
$custom: #1a255e;
$custom-light: #605f8c;
$custom-dark: #000000;
JSON
{
  "hex": "#1a255e",
  "rgb": {
    "r": 26,
    "g": 37,
    "b": 94
  },
  "hsl": {
    "h": 230.294,
    "s": 56.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.29284,
    "c": 0.10221,
    "h": 270.5
  },
  "luminance": 0.02351
}

Semantic roles & 50–950 ramp

primary
#1A255E
secondary
#948640
accent
#C748E0
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05040C
muted
#7A797D

Preview Lab

Preview with #1A255E

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

Preview Lab → · Contrast checker → · Palette generator →

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