#1834A0#1834A0

#1834A0 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.6% C 0.177 H 266.2°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#1834A0
RGBrgb(24, 52, 160)
HSLhsl(228, 74%, 36%)
HSVhsv(228, 85%, 63%)
CMYKcmyk(85%, 67.5%, 0%, 37.3%)
CIE-LABlab(27.26, 32.17, -60.87)
CIE-LCHlch(27.26, 68.85, 297.85°)
OKLaboklab(38.55% -0.0119 -0.1764)
OKLCHoklch(38.55% 0.177 266.2)
XYZxyz(7.9476, 5.1873, 33.8332)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1834A0 #A08418
analogous
#1878A0 #1834A0 #4018A0
triadic
#1834A0 #A01834 #34A018
tetradic
#1834A0 #A01878 #A08418 #18A040
square
#1834A0 #A01878 #A08418 #18A040
split-complementary
#1834A0 #A04018 #78A018
monochromatic
#081136 #10236B #1834A0 #2045D5 #4E6DE4

Accessibility & contrast

On white

10.31
#1834A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#1834A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1834A0
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1834A0#FFFFFF#000000##FFFFFF
##1834A01.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A3
Deuteranopia (green-blind)
#003A9E
Tritanopia (blue-blind)
#005165
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #1834a0;
/* rgb */ color: rgb(24, 52, 160);
/* oklch */ color: oklch(38.6% 0.177 266.2);
Tailwind
colors: {
  custom: {
    50: '#706bbd',
    500: '#1834a0',
    950: '#000000',
  },
}
SCSS
$custom: #1834a0;
$custom-light: #706bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#1834a0",
  "rgb": {
    "r": 24,
    "g": 52,
    "b": 160
  },
  "hsl": {
    "h": 227.647,
    "s": 73.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.38552,
    "c": 0.1768,
    "h": 266.2
  },
  "luminance": 0.05188
}

Semantic roles & 50–950 ramp

primary
#1834A0
secondary
#C6AE4D
accent
#CA37F1
background
#F7F6FB
surface
#EDEBF7
border
#C8C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #1834A0

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

Preview Lab → · Contrast checker → · Palette generator →

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