#1835A0#1835A0

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

Color values

HEX#1835A0
RGBrgb(24, 53, 160)
HSLhsl(227, 74%, 36%)
HSVhsv(227, 85%, 63%)
CMYKcmyk(85%, 66.9%, 0%, 37.3%)
CIE-LABlab(27.51, 31.51, -60.47)
CIE-LCHlch(27.51, 68.18, 297.52°)
OKLaboklab(38.74% -0.0123 -0.1752)
OKLCHoklch(38.74% 0.176 266)
XYZxyz(7.9927, 5.2775, 33.8483)
Luminance0.0528 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1835A0 #A08318
analogous
#1879A0 #1835A0 #3F18A0
triadic
#1835A0 #A01835 #35A018
tetradic
#1835A0 #A01879 #A08318 #18A03F
square
#1835A0 #A01879 #A08318 #18A03F
split-complementary
#1835A0 #A03F18 #79A018
monochromatic
#081236 #10236B #1835A0 #2047D5 #4E6EE4

Accessibility & contrast

On white

10.22
#1835A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1835A0
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1835A0#FFFFFF#000000##FFFFFF
##1835A01.0010.222.0610.22
#FFFFFF10.221.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A3
Deuteranopia (green-blind)
#003B9E
Tritanopia (blue-blind)
#005265
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #1835a0;
/* rgb */ color: rgb(24, 53, 160);
/* oklch */ color: oklch(38.7% 0.176 266.0);
Tailwind
colors: {
  custom: {
    50: '#706cbd',
    500: '#1835a0',
    950: '#000000',
  },
}
SCSS
$custom: #1835a0;
$custom-light: #706cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#1835a0",
  "rgb": {
    "r": 24,
    "g": 53,
    "b": 160
  },
  "hsl": {
    "h": 227.206,
    "s": 73.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.38735,
    "c": 0.17563,
    "h": 266
  },
  "luminance": 0.05278
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1835A0

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

Preview Lab → · Contrast checker → · Palette generator →

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