#1835A1#1835A1

#1835A1 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.8% C 0.177 H 266.0°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#1835A1
RGBrgb(24, 53, 161)
HSLhsl(227, 74%, 36%)
HSVhsv(227, 85%, 63%)
CMYKcmyk(85.1%, 67.1%, 0%, 36.9%)
CIE-LABlab(27.61, 31.89, -60.91)
CIE-LCHlch(27.61, 68.76, 297.64°)
OKLaboklab(38.83% -0.0123 -0.1765)
OKLCHoklch(38.83% 0.177 266)
XYZxyz(8.0806, 5.3126, 34.3109)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1835A1 #A18418
analogous
#187AA1 #1835A1 #4018A1
triadic
#1835A1 #A11835 #35A118
tetradic
#1835A1 #A1187A #A18418 #18A140
square
#1835A1 #A1187A #A18418 #18A140
split-complementary
#1835A1 #A14018 #7AA118
monochromatic
#081236 #10236C #1835A1 #2047D6 #4F6EE5

Accessibility & contrast

On white

10.18
#1835A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#1835A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1835A1
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1835A1#FFFFFF#000000##FFFFFF
##1835A11.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A4
Deuteranopia (green-blind)
#003B9F
Tritanopia (blue-blind)
#005266
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #1835a1;
/* rgb */ color: rgb(24, 53, 161);
/* oklch */ color: oklch(38.8% 0.177 266.0);
Tailwind
colors: {
  custom: {
    50: '#706cbe',
    500: '#1835a1',
    950: '#000000',
  },
}
SCSS
$custom: #1835a1;
$custom-light: #706cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#1835a1",
  "rgb": {
    "r": 24,
    "g": 53,
    "b": 161
  },
  "hsl": {
    "h": 227.299,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.38835,
    "c": 0.17694,
    "h": 266
  },
  "luminance": 0.05314
}

Semantic roles & 50–950 ramp

primary
#1835A1
secondary
#C7AD4E
accent
#C937F1
background
#F7F6FB
surface
#EDEBF7
border
#C8C6D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #1835A1

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

Preview Lab → · Contrast checker → · Palette generator →

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