#183FB4#183FB4

#183FB4 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.5% C 0.190 H 264.8°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#183FB4
RGBrgb(24, 63, 180)
HSLhsl(225, 76%, 40%)
HSVhsv(225, 87%, 71%)
CMYKcmyk(86.7%, 65%, 0%, 29.4%)
CIE-LABlab(31.91, 32.58, -65.25)
CIE-LCHlch(31.91, 72.93, 296.53°)
OKLaboklab(42.54% -0.0173 -0.1891)
OKLCHoklch(42.54% 0.19 264.8)
XYZxyz(10.3895, 7.0432, 43.9830)
Luminance0.0704 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183FB4 #B48D18
analogous
#188DB4 #183FB4 #3F18B4
triadic
#183FB4 #B4183F #3FB418
tetradic
#183FB4 #B4188D #B48D18 #18B43F
square
#183FB4 #B4188D #B48D18 #18B43F
split-complementary
#183FB4 #B43F18 #8DB418
monochromatic
#0A1948 #112C7E #183FB4 #2756E2 #5D80E9

Accessibility & contrast

On white

8.72
#183FB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#183FB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183FB4
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183FB4#FFFFFF#000000##FFFFFF
##183FB41.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B8
Deuteranopia (green-blind)
#0044B2
Tritanopia (blue-blind)
#005E74
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #183fb4;
/* rgb */ color: rgb(24, 63, 180);
/* oklch */ color: oklch(42.5% 0.190 264.8);
Tailwind
colors: {
  custom: {
    50: '#7573cc',
    500: '#183fb4',
    950: '#000000',
  },
}
SCSS
$custom: #183fb4;
$custom-light: #7573cc;
$custom-dark: #000000;
JSON
{
  "hex": "#183fb4",
  "rgb": {
    "r": 24,
    "g": 63,
    "b": 180
  },
  "hsl": {
    "h": 225,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.42542,
    "c": 0.18988,
    "h": 264.8
  },
  "luminance": 0.07044
}

Semantic roles & 50–950 ramp

primary
#183FB4
secondary
#CDB15B
accent
#C335F3
background
#F7F7FC
surface
#EEEDF9
border
#C9C8D2
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #183FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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