#1A275A#1A275A

#1A275A is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.4% C 0.093 H 269.2°. Best body text is #FFFFFF at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#1A275A
RGBrgb(26, 39, 90)
HSLhsl(228, 55%, 23%)
HSVhsv(228, 71%, 35%)
CMYKcmyk(71.1%, 56.7%, 0%, 64.7%)
CIE-LABlab(17.50, 13.55, -32.41)
CIE-LCHlch(17.50, 35.13, 292.70°)
OKLaboklab(29.38% -0.0013 -0.0931)
OKLCHoklch(29.38% 0.093 269.2)
XYZxyz(2.9964, 2.4086, 9.9779)
Luminance0.0241 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A275A #5A4D1A
analogous
#1A475A #1A275A #2D1A5A
triadic
#1A275A #5A1A27 #275A1A
tetradic
#1A275A #5A1A47 #5A4D1A #1A5A2D
square
#1A275A #5A1A47 #5A4D1A #1A5A2D
split-complementary
#1A275A #5A2D1A #475A1A
monochromatic
#070A18 #0C122B #1A275A #283C89 #3550B9

Accessibility & contrast

On white

14.17
#1A275A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A275A
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A275A#FFFFFF#000000##FFFFFF
##1A275A1.0014.171.4814.17
#FFFFFF14.171.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072E5C
Deuteranopia (green-blind)
#002859
Tritanopia (blue-blind)
#00333C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #1a275a;
/* rgb */ color: rgb(26, 39, 90);
/* oklch */ color: oklch(29.4% 0.093 269.2);
Tailwind
colors: {
  custom: {
    50: '#5f6089',
    500: '#1a275a',
    950: '#000000',
  },
}
SCSS
$custom: #1a275a;
$custom-light: #5f6089;
$custom-dark: #000000;
JSON
{
  "hex": "#1a275a",
  "rgb": {
    "r": 26,
    "g": 39,
    "b": 90
  },
  "hsl": {
    "h": 227.813,
    "s": 55.172,
    "l": 22.745
  },
  "oklch": {
    "l": 0.29384,
    "c": 0.09308,
    "h": 269.2
  },
  "luminance": 0.02409
}

Semantic roles & 50–950 ramp

primary
#1A275A
secondary
#908040
accent
#C049DF
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05050B
muted
#79797C

Preview Lab

Preview with #1A275A

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

Preview Lab → · Contrast checker → · Palette generator →

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