#1845B3#1845B3

#1845B3 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.6% C 0.181 H 263.6°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#1845B3
RGBrgb(24, 69, 179)
HSLhsl(223, 76%, 40%)
HSVhsv(223, 87%, 70%)
CMYKcmyk(86.6%, 61.5%, 0%, 29.8%)
CIE-LABlab(33.36, 28.21, -62.27)
CIE-LCHlch(33.36, 68.37, 294.37°)
OKLaboklab(43.59% -0.0201 -0.1803)
OKLCHoklch(43.59% 0.181 263.6)
XYZxyz(10.6386, 7.7038, 43.5653)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1845B3 #B38618
analogous
#1892B3 #1845B3 #3918B3
triadic
#1845B3 #B31845 #45B318
tetradic
#1845B3 #B31892 #B38618 #18B339
square
#1845B3 #B31892 #B38618 #18B339
split-complementary
#1845B3 #B33918 #92B318
monochromatic
#0A1B47 #11307D #1845B3 #265DE2 #5C85E9

Accessibility & contrast

On white

8.26
#1845B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#1845B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1845B3
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1845B3#FFFFFF#000000##FFFFFF
##1845B31.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B7
Deuteranopia (green-blind)
#0048B1
Tritanopia (blue-blind)
#006275
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1845b3;
/* rgb */ color: rgb(24, 69, 179);
/* oklch */ color: oklch(43.6% 0.181 263.6);
Tailwind
colors: {
  custom: {
    50: '#7478cb',
    500: '#1845b3',
    950: '#000000',
  },
}
SCSS
$custom: #1845b3;
$custom-light: #7478cb;
$custom-dark: #000000;
JSON
{
  "hex": "#1845b3",
  "rgb": {
    "r": 24,
    "g": 69,
    "b": 179
  },
  "hsl": {
    "h": 222.581,
    "s": 76.355,
    "l": 39.804
  },
  "oklch": {
    "l": 0.43592,
    "c": 0.18143,
    "h": 263.6
  },
  "luminance": 0.07705
}

Semantic roles & 50–950 ramp

primary
#1845B3
secondary
#CDAC5A
accent
#BC35F3
background
#F7F7FC
surface
#EEEDF9
border
#C9C8D2
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #1845B3

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

Preview Lab → · Contrast checker → · Palette generator →

#1845B3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva