#1A2E9F#1A2E9F

#1A2E9F is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.5% C 0.182 H 267.6°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#1A2E9F
RGBrgb(26, 46, 159)
HSLhsl(231, 72%, 36%)
HSVhsv(231, 84%, 62%)
CMYKcmyk(83.6%, 71.1%, 0%, 37.6%)
CIE-LABlab(25.79, 35.83, -62.69)
CIE-LCHlch(25.79, 72.20, 299.75°)
OKLaboklab(37.47% -0.0077 -0.1817)
OKLCHoklch(37.47% 0.182 267.6)
XYZxyz(7.6588, 4.6759, 33.2930)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2E9F #9F8B1A
analogous
#1A719F #1A2E9F #481A9F
triadic
#1A2E9F #9F1A2E #2E9F1A
tetradic
#1A2E9F #9F1A71 #9F8B1A #1A9F48
square
#1A2E9F #9F1A71 #9F8B1A #1A9F48
split-complementary
#1A2E9F #9F481A #719F1A
monochromatic
#091036 #111F6A #1A2E9F #233DD4 #5167E3

Accessibility & contrast

On white

10.85
#1A2E9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#1A2E9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2E9F
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2E9F#FFFFFF#000000##FFFFFF
##1A2E9F1.0010.851.9410.85
#FFFFFF10.851.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A2
Deuteranopia (green-blind)
#00379D
Tritanopia (blue-blind)
#004E63
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1a2e9f;
/* rgb */ color: rgb(26, 46, 159);
/* oklch */ color: oklch(37.5% 0.182 267.6);
Tailwind
colors: {
  custom: {
    50: '#7167bd',
    500: '#1a2e9f',
    950: '#000000',
  },
}
SCSS
$custom: #1a2e9f;
$custom-light: #7167bd;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2e9f",
  "rgb": {
    "r": 26,
    "g": 46,
    "b": 159
  },
  "hsl": {
    "h": 230.977,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.37472,
    "c": 0.18183,
    "h": 267.6
  },
  "luminance": 0.04677
}

Semantic roles & 50–950 ramp

primary
#1A2E9F
secondary
#C5B350
accent
#D339EF
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #1A2E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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