#1A2F89#1A2F89

#1A2F89 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.4% C 0.152 H 267.4°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#1A2F89
RGBrgb(26, 47, 137)
HSLhsl(229, 68%, 32%)
HSVhsv(229, 81%, 54%)
CMYKcmyk(81%, 65.7%, 0%, 46.3%)
CIE-LABlab(23.86, 26.78, -52.30)
CIE-LCHlch(23.86, 58.76, 297.11°)
OKLaboklab(35.41% -0.0068 -0.1514)
OKLCHoklch(35.41% 0.152 267.4)
XYZxyz(5.9563, 4.0581, 24.1314)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2F89 #89741A
analogous
#1A6689 #1A2F89 #3D1A89
triadic
#1A2F89 #891A2F #2F891A
tetradic
#1A2F89 #891A66 #89741A #1A893D
square
#1A2F89 #891A66 #89741A #1A893D
split-complementary
#1A2F89 #893D1A #66891A
monochromatic
#060C22 #101D56 #1A2F89 #2441BC #425FDB

Accessibility & contrast

On white

11.59
#1A2F89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#1A2F89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2F89
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2F89#FFFFFF#000000##FFFFFF
##1A2F891.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8C
Deuteranopia (green-blind)
#003487
Tritanopia (blue-blind)
#004757
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1a2f89;
/* rgb */ color: rgb(26, 47, 137);
/* oklch */ color: oklch(35.4% 0.152 267.4);
Tailwind
colors: {
  custom: {
    50: '#6b67ac',
    500: '#1a2f89',
    950: '#000000',
  },
}
SCSS
$custom: #1a2f89;
$custom-light: #6b67ac;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2f89",
  "rgb": {
    "r": 26,
    "g": 47,
    "b": 137
  },
  "hsl": {
    "h": 228.649,
    "s": 68.098,
    "l": 31.961
  },
  "oklch": {
    "l": 0.35406,
    "c": 0.15151,
    "h": 267.4
  },
  "luminance": 0.04059
}

Semantic roles & 50–950 ramp

primary
#1A2F89
secondary
#BCA543
accent
#CA3DEB
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080610
muted
#7A7A7F

Preview Lab

Preview with #1A2F89

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

Preview Lab → · Contrast checker → · Palette generator →

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