#1A2F90#1A2F90

#1A2F90 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.1% C 0.161 H 267.5°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#1A2F90
RGBrgb(26, 47, 144)
HSLhsl(229, 69%, 33%)
HSVhsv(229, 82%, 56%)
CMYKcmyk(81.9%, 67.4%, 0%, 43.5%)
CIE-LABlab(24.53, 29.50, -55.56)
CIE-LCHlch(24.53, 62.91, 297.97°)
OKLaboklab(36.1% -0.0071 -0.1609)
OKLCHoklch(36.1% 0.161 267.5)
XYZxyz(6.4748, 4.2655, 26.8622)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2F90 #907B1A
analogous
#1A6A90 #1A2F90 #401A90
triadic
#1A2F90 #901A2F #2F901A
tetradic
#1A2F90 #901A6A #907B1A #1A9040
square
#1A2F90 #901A6A #907B1A #1A9040
split-complementary
#1A2F90 #90401A #6A901A
monochromatic
#070D28 #111E5C #1A2F90 #2340C4 #4762DE

Accessibility & contrast

On white

11.33
#1A2F90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#1A2F90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2F90
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2F90#FFFFFF#000000##FFFFFF
##1A2F901.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004093
Deuteranopia (green-blind)
#00358E
Tritanopia (blue-blind)
#00495B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1a2f90;
/* rgb */ color: rgb(26, 47, 144);
/* oklch */ color: oklch(36.1% 0.161 267.5);
Tailwind
colors: {
  custom: {
    50: '#6d67b1',
    500: '#1a2f90',
    950: '#000000',
  },
}
SCSS
$custom: #1a2f90;
$custom-light: #6d67b1;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2f90",
  "rgb": {
    "r": 26,
    "g": 47,
    "b": 144
  },
  "hsl": {
    "h": 229.322,
    "s": 69.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.36101,
    "c": 0.16103,
    "h": 267.5
  },
  "luminance": 0.04266
}

Semantic roles & 50–950 ramp

primary
#1A2F90
secondary
#BFAA47
accent
#CD3CEC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80

Preview Lab

Preview with #1A2F90

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

Preview Lab → · Contrast checker → · Palette generator →

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