#183C94#183C94

#183C94 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.0% C 0.151 H 263.8°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#183C94
RGBrgb(24, 60, 148)
HSLhsl(223, 72%, 34%)
HSVhsv(223, 84%, 58%)
CMYKcmyk(83.8%, 59.5%, 0%, 42%)
CIE-LABlab(28.28, 22.01, -51.88)
CIE-LCHlch(28.28, 56.36, 292.99°)
OKLaboklab(38.98% -0.0162 -0.15)
OKLCHoklch(38.98% 0.151 263.8)
XYZxyz(7.3359, 5.5631, 28.6984)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183C94 #947018
analogous
#187A94 #183C94 #321894
triadic
#183C94 #94183C #3C9418
tetradic
#183C94 #94187A #947018 #189432
square
#183C94 #94187A #947018 #189432
split-complementary
#183C94 #943218 #7A9418
monochromatic
#07112B #0F275F #183C94 #2151C9 #4573E1

Accessibility & contrast

On white

9.94
#183C94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#183C94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183C94
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183C94#FFFFFF#000000##FFFFFF
##183C941.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004997
Deuteranopia (green-blind)
#003D92
Tritanopia (blue-blind)
#005262
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #183c94;
/* rgb */ color: rgb(24, 60, 148);
/* oklch */ color: oklch(39.0% 0.151 263.8);
Tailwind
colors: {
  custom: {
    50: '#6c71b4',
    500: '#183c94',
    950: '#000000',
  },
}
SCSS
$custom: #183c94;
$custom-light: #6c71b4;
$custom-dark: #000000;
JSON
{
  "hex": "#183c94",
  "rgb": {
    "r": 24,
    "g": 60,
    "b": 148
  },
  "hsl": {
    "h": 222.581,
    "s": 72.093,
    "l": 33.725
  },
  "oklch": {
    "l": 0.38975,
    "c": 0.15085,
    "h": 263.8
  },
  "luminance": 0.05564
}

Semantic roles & 50–950 ramp

primary
#183C94
secondary
#C29E46
accent
#BA39EF
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #183C94

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

Preview Lab → · Contrast checker → · Palette generator →

#183C94 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva