#1A275E#1A275E

#1A275E is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.7% C 0.099 H 269.4°. Best body text is #FFFFFF at 14.04:1 contrast (WCAG AA passes).

Color values

HEX#1A275E
RGBrgb(26, 39, 94)
HSLhsl(229, 57%, 24%)
HSVhsv(229, 72%, 37%)
CMYKcmyk(72.3%, 58.5%, 0%, 63.1%)
CIE-LABlab(17.82, 15.18, -34.55)
CIE-LCHlch(17.82, 37.74, 293.73°)
OKLaboklab(29.73% -0.001 -0.0994)
OKLCHoklch(29.73% 0.099 269.4)
XYZxyz(3.1712, 2.4785, 10.8988)
Luminance0.0248 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A275E #5E511A
analogous
#1A495E #1A275E #2F1A5E
triadic
#1A275E #5E1A27 #275E1A
tetradic
#1A275E #5E1A49 #5E511A #1A5E2F
square
#1A275E #5E1A49 #5E511A #1A5E2F
split-complementary
#1A275E #5E2F1A #495E1A
monochromatic
#070A18 #0D132E #1A275E #273B8E #354FBE

Accessibility & contrast

On white

14.04
#1A275E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#1A275E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A275E
14.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A275E#FFFFFF#000000##FFFFFF
##1A275E1.0014.041.5014.04
#FFFFFF14.041.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F60
Deuteranopia (green-blind)
#00295D
Tritanopia (blue-blind)
#00343E
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1a275e;
/* rgb */ color: rgb(26, 39, 94);
/* oklch */ color: oklch(29.7% 0.099 269.4);
Tailwind
colors: {
  custom: {
    50: '#60608c',
    500: '#1a275e',
    950: '#000000',
  },
}
SCSS
$custom: #1a275e;
$custom-light: #60608c;
$custom-dark: #000000;
JSON
{
  "hex": "#1a275e",
  "rgb": {
    "r": 26,
    "g": 39,
    "b": 94
  },
  "hsl": {
    "h": 228.529,
    "s": 56.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.29728,
    "c": 0.09937,
    "h": 269.4
  },
  "luminance": 0.02479
}

Semantic roles & 50–950 ramp

primary
#1A275E
secondary
#948440
accent
#C348E0
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #1A275E

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

Preview Lab → · Contrast checker → · Palette generator →

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