#1828A1#1828A1

#1828A1 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.7% C 0.191 H 267.7°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#1828A1
RGBrgb(24, 40, 161)
HSLhsl(233, 74%, 36%)
HSVhsv(233, 85%, 63%)
CMYKcmyk(85.1%, 75.2%, 0%, 36.9%)
CIE-LABlab(24.59, 40.14, -65.89)
CIE-LCHlch(24.59, 77.15, 301.35°)
OKLaboklab(36.65% -0.0075 -0.191)
OKLCHoklch(36.65% 0.191 267.7)
XYZxyz(7.5663, 4.2841, 34.1394)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1828A1 #A19118
analogous
#186DA1 #1828A1 #4D18A1
triadic
#1828A1 #A11828 #28A118
tetradic
#1828A1 #A1186D #A19118 #18A14D
square
#1828A1 #A1186D #A19118 #18A14D
split-complementary
#1828A1 #A14D18 #6DA118
monochromatic
#080E36 #101B6C #1828A1 #2035D6 #4F60E5

Accessibility & contrast

On white

11.31
#1828A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#1828A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1828A1
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1828A1#FFFFFF#000000##FFFFFF
##1828A11.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A5
Deuteranopia (green-blind)
#00349F
Tritanopia (blue-blind)
#004C62
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1828a1;
/* rgb */ color: rgb(24, 40, 161);
/* oklch */ color: oklch(36.7% 0.191 267.7);
Tailwind
colors: {
  custom: {
    50: '#7263be',
    500: '#1828a1',
    950: '#000000',
  },
}
SCSS
$custom: #1828a1;
$custom-light: #7263be;
$custom-dark: #000000;
JSON
{
  "hex": "#1828a1",
  "rgb": {
    "r": 24,
    "g": 40,
    "b": 161
  },
  "hsl": {
    "h": 232.993,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.36651,
    "c": 0.19115,
    "h": 267.7
  },
  "luminance": 0.04285
}

Semantic roles & 50–950 ramp

primary
#1828A1
secondary
#C7B94E
accent
#DB37F1
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#090512
muted
#7B7981

Preview Lab

Preview with #1828A1

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

Preview Lab → · Contrast checker → · Palette generator →

#1828A1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva