#1A275F#1A275F

#1A275F is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.8% C 0.101 H 269.5°. Best body text is #FFFFFF at 14.01:1 contrast (WCAG AA passes).

Color values

HEX#1A275F
RGBrgb(26, 39, 95)
HSLhsl(229, 57%, 24%)
HSVhsv(229, 73%, 37%)
CMYKcmyk(72.6%, 58.9%, 0%, 62.7%)
CIE-LABlab(17.90, 15.59, -35.08)
CIE-LCHlch(17.90, 38.39, 293.96°)
OKLaboklab(29.82% -0.0009 -0.1009)
OKLCHoklch(29.82% 0.101 269.5)
XYZxyz(3.2164, 2.4966, 11.1366)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A275F #5F521A
analogous
#1A495F #1A275F #2F1A5F
triadic
#1A275F #5F1A27 #275F1A
tetradic
#1A275F #5F1A49 #5F521A #1A5F2F
square
#1A275F #5F1A49 #5F521A #1A5F2F
split-complementary
#1A275F #5F2F1A #495F1A
monochromatic
#070A18 #0D132F #1A275F #273B8F #344EBF

Accessibility & contrast

On white

14.01
#1A275F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A275F
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A275F#FFFFFF#000000##FFFFFF
##1A275F1.0014.011.5014.01
#FFFFFF14.011.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a275f;
/* rgb */ color: rgb(26, 39, 95);
/* oklch */ color: oklch(29.8% 0.101 269.5);
Tailwind
colors: {
  custom: {
    50: '#60608d',
    500: '#1a275f',
    950: '#000000',
  },
}
SCSS
$custom: #1a275f;
$custom-light: #60608d;
$custom-dark: #000000;
JSON
{
  "hex": "#1a275f",
  "rgb": {
    "r": 26,
    "g": 39,
    "b": 95
  },
  "hsl": {
    "h": 228.696,
    "s": 57.025,
    "l": 23.725
  },
  "oklch": {
    "l": 0.29816,
    "c": 0.10092,
    "h": 269.5
  },
  "luminance": 0.02497
}

Semantic roles & 50–950 ramp

primary
#1A275F
secondary
#958540
accent
#C448E0
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05050C
muted
#7A797D

Preview Lab

Preview with #1A275F

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

Preview Lab → · Contrast checker → · Palette generator →

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