#1A2383#1A2383

#1A2383 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.6% C 0.158 H 270.1°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#1A2383
RGBrgb(26, 35, 131)
HSLhsl(235, 67%, 31%)
HSVhsv(235, 80%, 51%)
CMYKcmyk(80.2%, 73.3%, 0%, 48.6%)
CIE-LABlab(20.28, 32.48, -54.43)
CIE-LCHlch(20.28, 63.38, 300.82°)
OKLaboklab(32.62% 0.0001 -0.1576)
OKLCHoklch(32.62% 0.158 270.1)
XYZxyz(5.1224, 3.0598, 21.7890)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2383 #837A1A
analogous
#1A5783 #1A2383 #451A83
triadic
#1A2383 #831A23 #23831A
tetradic
#1A2383 #831A57 #837A1A #1A8345
square
#1A2383 #831A57 #837A1A #1A8345
split-complementary
#1A2383 #83451A #57831A
monochromatic
#06081D #101550 #1A2383 #2431B6 #3F4CD9

Accessibility & contrast

On white

13.03
#1A2383 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#1A2383 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2383
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2383#FFFFFF#000000##FFFFFF
##1A23831.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003686
Deuteranopia (green-blind)
#002C81
Tritanopia (blue-blind)
#003E50
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1a2383;
/* rgb */ color: rgb(26, 35, 131);
/* oklch */ color: oklch(32.6% 0.158 270.1);
Tailwind
colors: {
  custom: {
    50: '#6a5ea8',
    500: '#1a2383',
    950: '#000000',
  },
}
SCSS
$custom: #1a2383;
$custom-light: #6a5ea8;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2383",
  "rgb": {
    "r": 26,
    "g": 35,
    "b": 131
  },
  "hsl": {
    "h": 234.857,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.32616,
    "c": 0.15761,
    "h": 270.1
  },
  "luminance": 0.0306
}

Semantic roles & 50–950 ramp

primary
#1A2383
secondary
#B7AD42
accent
#DB3EEA
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#080410
muted
#7A797F

Preview Lab

Preview with #1A2383

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

Preview Lab → · Contrast checker → · Palette generator →

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