#183795#183795

#183795 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.0% C 0.159 H 265.2°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#183795
RGBrgb(24, 55, 149)
HSLhsl(225, 72%, 34%)
HSVhsv(225, 84%, 58%)
CMYKcmyk(83.9%, 63.1%, 0%, 41.6%)
CIE-LABlab(27.01, 25.86, -54.58)
CIE-LCHlch(27.01, 60.40, 295.35°)
OKLaboklab(38.05% -0.0131 -0.158)
OKLCHoklch(38.05% 0.159 265.2)
XYZxyz(7.1658, 5.0956, 29.0338)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183795 #957618
analogous
#187695 #183795 #381895
triadic
#183795 #951837 #379518
tetradic
#183795 #951876 #957618 #189538
square
#183795 #951876 #957618 #189538
split-complementary
#183795 #953818 #769518
monochromatic
#07102C #102460 #183795 #204ACA #466DE1

Accessibility & contrast

On white

10.40
#183795 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#183795 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183795
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183795#FFFFFF#000000##FFFFFF
##1837951.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004698
Deuteranopia (green-blind)
#003A93
Tritanopia (blue-blind)
#005060
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #183795;
/* rgb */ color: rgb(24, 55, 149);
/* oklch */ color: oklch(38.0% 0.159 265.2);
Tailwind
colors: {
  custom: {
    50: '#6d6db5',
    500: '#183795',
    950: '#000000',
  },
}
SCSS
$custom: #183795;
$custom-light: #6d6db5;
$custom-dark: #000000;
JSON
{
  "hex": "#183795",
  "rgb": {
    "r": 24,
    "g": 55,
    "b": 149
  },
  "hsl": {
    "h": 225.12,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.38049,
    "c": 0.15852,
    "h": 265.2
  },
  "luminance": 0.05096
}

Semantic roles & 50–950 ramp

primary
#183795
secondary
#C2A446
accent
#C239EF
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #183795

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

Preview Lab → · Contrast checker → · Palette generator →

#183795 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva