#183FA1#183FA1

#183FA1 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.8% C 0.165 H 263.9°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#183FA1
RGBrgb(24, 63, 161)
HSLhsl(223, 74%, 36%)
HSVhsv(223, 85%, 63%)
CMYKcmyk(85.1%, 60.9%, 0%, 36.9%)
CIE-LABlab(30.21, 25.16, -56.65)
CIE-LCHlch(30.21, 61.99, 293.95°)
OKLaboklab(40.76% -0.0174 -0.1639)
OKLCHoklch(40.76% 0.165 263.9)
XYZxyz(8.5849, 6.3214, 34.4790)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183FA1 #A17A18
analogous
#1884A1 #183FA1 #3618A1
triadic
#183FA1 #A1183F #3FA118
tetradic
#183FA1 #A11884 #A17A18 #18A136
square
#183FA1 #A11884 #A17A18 #18A136
split-complementary
#183FA1 #A13618 #84A118
monochromatic
#081536 #102A6C #183FA1 #2054D6 #4F79E5

Accessibility & contrast

On white

9.27
#183FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#183FA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183FA1
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183FA1#FFFFFF#000000##FFFFFF
##183FA11.009.272.269.27
#FFFFFF9.271.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA4
Deuteranopia (green-blind)
#00419F
Tritanopia (blue-blind)
#00586A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #183fa1;
/* rgb */ color: rgb(24, 63, 161);
/* oklch */ color: oklch(40.8% 0.165 263.9);
Tailwind
colors: {
  custom: {
    50: '#6f73be',
    500: '#183fa1',
    950: '#000000',
  },
}
SCSS
$custom: #183fa1;
$custom-light: #6f73be;
$custom-dark: #000000;
JSON
{
  "hex": "#183fa1",
  "rgb": {
    "r": 24,
    "g": 63,
    "b": 161
  },
  "hsl": {
    "h": 222.92,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.40762,
    "c": 0.16484,
    "h": 263.9
  },
  "luminance": 0.06322
}

Semantic roles & 50–950 ramp

primary
#183FA1
secondary
#C7A44E
accent
#BC37F1
background
#F7F6FB
surface
#EDECF7
border
#C8C7D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #183FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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