#1834A1#1834A1

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

Color values

HEX#1834A1
RGBrgb(24, 52, 161)
HSLhsl(228, 74%, 36%)
HSVhsv(228, 85%, 63%)
CMYKcmyk(85.1%, 67.7%, 0%, 36.9%)
CIE-LABlab(27.36, 32.55, -61.32)
CIE-LCHlch(27.36, 69.43, 297.96°)
OKLaboklab(38.65% -0.0119 -0.1777)
OKLCHoklch(38.65% 0.178 266.2)
XYZxyz(8.0354, 5.2224, 34.2958)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1834A1 #A18518
analogous
#1879A1 #1834A1 #4118A1
triadic
#1834A1 #A11834 #34A118
tetradic
#1834A1 #A11879 #A18518 #18A141
square
#1834A1 #A11879 #A18518 #18A141
split-complementary
#1834A1 #A14118 #79A118
monochromatic
#081236 #10236C #1834A1 #2045D6 #4F6DE5

Accessibility & contrast

On white

10.27
#1834A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1834A1
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1834A1#FFFFFF#000000##FFFFFF
##1834A11.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1834a1;
/* rgb */ color: rgb(24, 52, 161);
/* oklch */ color: oklch(38.7% 0.178 266.2);
Tailwind
colors: {
  custom: {
    50: '#706bbe',
    500: '#1834a1',
    950: '#000000',
  },
}
SCSS
$custom: #1834a1;
$custom-light: #706bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#1834a1",
  "rgb": {
    "r": 24,
    "g": 52,
    "b": 161
  },
  "hsl": {
    "h": 227.737,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.38653,
    "c": 0.17811,
    "h": 266.2
  },
  "luminance": 0.05223
}

Semantic roles & 50–950 ramp

primary
#1834A1
secondary
#C7AE4E
accent
#CB37F1
background
#F7F6FB
surface
#EDEBF7
border
#C8C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #1834A1

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

Preview Lab → · Contrast checker → · Palette generator →

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