#1835B4#1835B4

#1835B4 is a dark, highly saturated blue. Relative luminance 0.060; OKLCH L 40.8% C 0.201 H 266.2°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#1835B4
RGBrgb(24, 53, 180)
HSLhsl(229, 76%, 40%)
HSVhsv(229, 87%, 71%)
CMYKcmyk(86.7%, 70.6%, 0%, 29.4%)
CIE-LABlab(29.50, 39.02, -69.21)
CIE-LCHlch(29.50, 79.45, 299.41°)
OKLaboklab(40.78% -0.0135 -0.2007)
OKLCHoklch(40.78% 0.201 266.2)
XYZxyz(9.8851, 6.0344, 43.8149)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1835B4 #B49718
analogous
#1883B4 #1835B4 #4918B4
triadic
#1835B4 #B41835 #35B418
tetradic
#1835B4 #B41883 #B49718 #18B449
square
#1835B4 #B41883 #B49718 #18B449
split-complementary
#1835B4 #B44918 #83B418
monochromatic
#0A1548 #11257E #1835B4 #274AE2 #5D77E9

Accessibility & contrast

On white

9.51
#1835B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#1835B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1835B4
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1835B4#FFFFFF#000000##FFFFFF
##1835B41.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB8
Deuteranopia (green-blind)
#003EB2
Tritanopia (blue-blind)
#005970
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1835b4;
/* rgb */ color: rgb(24, 53, 180);
/* oklch */ color: oklch(40.8% 0.201 266.2);
Tailwind
colors: {
  custom: {
    50: '#766ccc',
    500: '#1835b4',
    950: '#000000',
  },
}
SCSS
$custom: #1835b4;
$custom-light: #766ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#1835b4",
  "rgb": {
    "r": 24,
    "g": 53,
    "b": 180
  },
  "hsl": {
    "h": 228.846,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.40783,
    "c": 0.20113,
    "h": 266.2
  },
  "luminance": 0.06036
}

Semantic roles & 50–950 ramp

primary
#1835B4
secondary
#CDB85B
accent
#D035F3
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #1835B4

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

Preview Lab → · Contrast checker → · Palette generator →

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