#183A94#183A94

#183A94 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.6% C 0.153 H 264.4°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#183A94
RGBrgb(24, 58, 148)
HSLhsl(224, 72%, 34%)
HSVhsv(224, 84%, 58%)
CMYKcmyk(83.8%, 60.8%, 0%, 42%)
CIE-LABlab(27.73, 23.39, -52.78)
CIE-LCHlch(27.73, 57.74, 293.90°)
OKLaboklab(38.56% -0.0149 -0.1527)
OKLCHoklch(38.56% 0.153 264.4)
XYZxyz(7.2331, 5.3575, 28.6641)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183A94 #947218
analogous
#187894 #183A94 #341894
triadic
#183A94 #94183A #3A9418
tetradic
#183A94 #941878 #947218 #189434
square
#183A94 #941878 #947218 #189434
split-complementary
#183A94 #943418 #789418
monochromatic
#07112B #0F255F #183A94 #214FC9 #4570E1

Accessibility & contrast

On white

10.14
#183A94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#183A94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183A94
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183A94#FFFFFF#000000##FFFFFF
##183A941.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004797
Deuteranopia (green-blind)
#003C92
Tritanopia (blue-blind)
#005161
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #183a94;
/* rgb */ color: rgb(24, 58, 148);
/* oklch */ color: oklch(38.6% 0.153 264.4);
Tailwind
colors: {
  custom: {
    50: '#6c6fb4',
    500: '#183a94',
    950: '#000000',
  },
}
SCSS
$custom: #183a94;
$custom-light: #6c6fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#183a94",
  "rgb": {
    "r": 24,
    "g": 58,
    "b": 148
  },
  "hsl": {
    "h": 223.548,
    "s": 72.093,
    "l": 33.725
  },
  "oklch": {
    "l": 0.38561,
    "c": 0.15339,
    "h": 264.4
  },
  "luminance": 0.05358
}

Semantic roles & 50–950 ramp

primary
#183A94
secondary
#C2A046
accent
#BD39EF
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #183A94

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

Preview Lab → · Contrast checker → · Palette generator →

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