#1848A1#1848A1

#1848A1 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.6% C 0.154 H 261.4°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#1848A1
RGBrgb(24, 72, 161)
HSLhsl(219, 74%, 36%)
HSVhsv(219, 85%, 63%)
CMYKcmyk(85.1%, 55.3%, 0%, 36.9%)
CIE-LABlab(32.70, 19.02, -52.59)
CIE-LCHlch(32.70, 55.92, 289.88°)
OKLaboklab(42.64% -0.023 -0.1518)
OKLCHoklch(42.64% 0.154 261.4)
XYZxyz(9.1247, 7.4010, 34.6589)
Luminance0.0740 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1848A1 #A17118
analogous
#188DA1 #1848A1 #2D18A1
triadic
#1848A1 #A11848 #48A118
tetradic
#1848A1 #A1188D #A17118 #18A12D
square
#1848A1 #A1188D #A17118 #18A12D
split-complementary
#1848A1 #A12D18 #8DA118
monochromatic
#081836 #10306C #1848A1 #2060D6 #4F83E5

Accessibility & contrast

On white

8.47
#1848A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#1848A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1848A1
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1848A1#FFFFFF#000000##FFFFFF
##1848A11.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A4
Deuteranopia (green-blind)
#00479F
Tritanopia (blue-blind)
#005E6D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1848a1;
/* rgb */ color: rgb(24, 72, 161);
/* oklch */ color: oklch(42.6% 0.154 261.4);
Tailwind
colors: {
  custom: {
    50: '#6f7abd',
    500: '#1848a1',
    950: '#000000',
  },
}
SCSS
$custom: #1848a1;
$custom-light: #6f7abd;
$custom-dark: #000000;
JSON
{
  "hex": "#1848a1",
  "rgb": {
    "r": 24,
    "g": 72,
    "b": 161
  },
  "hsl": {
    "h": 218.978,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.42639,
    "c": 0.15355,
    "h": 261.4
  },
  "luminance": 0.07402
}

Semantic roles & 50–950 ramp

primary
#1848A1
secondary
#C79C4E
accent
#B037F1
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #1848A1

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

Preview Lab → · Contrast checker → · Palette generator →

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