#1832B4#1832B4

#1832B4 is a dark, highly saturated blue. Relative luminance 0.058; OKLCH L 40.3% C 0.204 H 266.5°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#1832B4
RGBrgb(24, 50, 180)
HSLhsl(230, 76%, 40%)
HSVhsv(230, 87%, 71%)
CMYKcmyk(86.7%, 72.2%, 0%, 29.4%)
CIE-LABlab(28.82, 40.88, -70.32)
CIE-LCHlch(28.82, 81.34, 300.17°)
OKLaboklab(40.29% -0.0125 -0.2039)
OKLCHoklch(40.29% 0.204 266.5)
XYZxyz(9.7526, 5.7695, 43.7708)
Luminance0.0577 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1832B4 #B49A18
analogous
#1880B4 #1832B4 #4C18B4
triadic
#1832B4 #B41832 #32B418
tetradic
#1832B4 #B41880 #B49A18 #18B44C
square
#1832B4 #B41880 #B49A18 #18B44C
split-complementary
#1832B4 #B44C18 #80B418
monochromatic
#0A1448 #11237E #1832B4 #2746E2 #5D74E9

Accessibility & contrast

On white

9.75
#1832B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#1832B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1832B4
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1832B4#FFFFFF#000000##FFFFFF
##1832B41.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB8
Deuteranopia (green-blind)
#003CB2
Tritanopia (blue-blind)
#005770
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1832b4;
/* rgb */ color: rgb(24, 50, 180);
/* oklch */ color: oklch(40.3% 0.204 266.5);
Tailwind
colors: {
  custom: {
    50: '#766acc',
    500: '#1832b4',
    950: '#000000',
  },
}
SCSS
$custom: #1832b4;
$custom-light: #766acc;
$custom-dark: #000000;
JSON
{
  "hex": "#1832b4",
  "rgb": {
    "r": 24,
    "g": 50,
    "b": 180
  },
  "hsl": {
    "h": 230,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.40295,
    "c": 0.2043,
    "h": 266.5
  },
  "luminance": 0.05771
}

Semantic roles & 50–950 ramp

primary
#1832B4
secondary
#CDBA5B
accent
#D335F3
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0A0614
muted
#7C7A82

Preview Lab

Preview with #1832B4

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

Preview Lab → · Contrast checker → · Palette generator →

#1832B4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva