#1A2283#1A2283

#1A2283 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.5% C 0.159 H 270.2°. Best body text is #FFFFFF at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#1A2283
RGBrgb(26, 34, 131)
HSLhsl(235, 67%, 31%)
HSVhsv(235, 80%, 51%)
CMYKcmyk(80.2%, 74%, 0%, 48.6%)
CIE-LABlab(20.05, 33.11, -54.81)
CIE-LCHlch(20.05, 64.04, 301.14°)
OKLaboklab(32.45% 0.0006 -0.1587)
OKLCHoklch(32.45% 0.159 270.2)
XYZxyz(5.0934, 3.0018, 21.7793)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2283 #837B1A
analogous
#1A5683 #1A2283 #471A83
triadic
#1A2283 #831A22 #22831A
tetradic
#1A2283 #831A56 #837B1A #1A8347
square
#1A2283 #831A56 #837B1A #1A8347
split-complementary
#1A2283 #83471A #56831A
monochromatic
#06071D #101550 #1A2283 #242FB6 #3F4AD9

Accessibility & contrast

On white

13.12
#1A2283 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#1A2283 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2283
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2283#FFFFFF#000000##FFFFFF
##1A22831.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a2283;
/* rgb */ color: rgb(26, 34, 131);
/* oklch */ color: oklch(32.5% 0.159 270.2);
Tailwind
colors: {
  custom: {
    50: '#6a5ea8',
    500: '#1a2283',
    950: '#000000',
  },
}
SCSS
$custom: #1a2283;
$custom-light: #6a5ea8;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2283",
  "rgb": {
    "r": 26,
    "g": 34,
    "b": 131
  },
  "hsl": {
    "h": 235.429,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.32451,
    "c": 0.15872,
    "h": 270.2
  },
  "luminance": 0.03002
}

Semantic roles & 50–950 ramp

primary
#1A2283
secondary
#B7AE42
accent
#DD3EEA
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#080410
muted
#7A797F

Preview Lab

Preview with #1A2283

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

Preview Lab → · Contrast checker → · Palette generator →

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