#1A2B83#1A2B83

#1A2B83 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.0% C 0.148 H 268.4°. Best body text is #FFFFFF at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#1A2B83
RGBrgb(26, 43, 131)
HSLhsl(230, 67%, 31%)
HSVhsv(230, 80%, 51%)
CMYKcmyk(80.2%, 67.2%, 0%, 48.6%)
CIE-LABlab(22.25, 27.17, -51.19)
CIE-LCHlch(22.25, 57.95, 297.95°)
OKLaboklab(34.05% -0.0042 -0.1481)
OKLCHoklch(34.05% 0.148 268.4)
XYZxyz(5.3852, 3.5855, 21.8766)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2B83 #83721A
analogous
#1A5F83 #1A2B83 #3D1A83
triadic
#1A2B83 #831A2B #2B831A
tetradic
#1A2B83 #831A5F #83721A #1A833D
square
#1A2B83 #831A5F #83721A #1A833D
split-complementary
#1A2B83 #833D1A #5F831A
monochromatic
#06091D #101A50 #1A2B83 #243CB6 #3F58D9

Accessibility & contrast

On white

12.23
#1A2B83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#1A2B83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2B83
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2B83#FFFFFF#000000##FFFFFF
##1A2B831.0012.231.7212.23
#FFFFFF12.231.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A86
Deuteranopia (green-blind)
#003081
Tritanopia (blue-blind)
#004253
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1a2b83;
/* rgb */ color: rgb(26, 43, 131);
/* oklch */ color: oklch(34.0% 0.148 268.4);
Tailwind
colors: {
  custom: {
    50: '#6a64a8',
    500: '#1a2b83',
    950: '#000000',
  },
}
SCSS
$custom: #1a2b83;
$custom-light: #6a64a8;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2b83",
  "rgb": {
    "r": 26,
    "g": 43,
    "b": 131
  },
  "hsl": {
    "h": 230.286,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.34046,
    "c": 0.1482,
    "h": 268.4
  },
  "luminance": 0.03586
}

Semantic roles & 50–950 ramp

primary
#1A2B83
secondary
#B7A442
accent
#CE3EEA
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070510
muted
#7A7A7F

Preview Lab

Preview with #1A2B83

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

Preview Lab → · Contrast checker → · Palette generator →

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