#183E7C#183E7C

#183E7C is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.4% C 0.114 H 259.8°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#183E7C
RGBrgb(24, 62, 124)
HSLhsl(217, 68%, 29%)
HSVhsv(217, 81%, 49%)
CMYKcmyk(80.6%, 50%, 0%, 51.4%)
CIE-LABlab(27.00, 10.77, -39.07)
CIE-LCHlch(27.00, 40.52, 285.42°)
OKLaboklab(37.41% -0.0202 -0.1123)
OKLCHoklch(37.41% 0.114 259.8)
XYZxyz(5.7361, 5.0940, 19.7458)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183E7C #7C5618
analogous
#18707C #183E7C #24187C
triadic
#183E7C #7C183E #3E7C18
tetradic
#183E7C #7C1870 #7C5618 #187C24
square
#183E7C #7C1870 #7C5618 #187C24
split-complementary
#183E7C #7C2418 #707C18
monochromatic
#050D1A #0E2449 #183E7C #2258AF #3674D8

Accessibility & contrast

On white

10.40
#183E7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#183E7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##183E7C#FFFFFF#000000##FFFFFF
##183E7C1.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)
#1B457E
Deuteranopia (green-blind)
#003C7B
Tritanopia (blue-blind)
#004D57
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #183e7c;
/* rgb */ color: rgb(24, 62, 124);
/* oklch */ color: oklch(37.4% 0.114 259.8);
Tailwind
colors: {
  custom: {
    50: '#6672a2',
    500: '#183e7c',
    950: '#000000',
  },
}
SCSS
$custom: #183e7c;
$custom-light: #6672a2;
$custom-dark: #000000;
JSON
{
  "hex": "#183e7c",
  "rgb": {
    "r": 24,
    "g": 62,
    "b": 124
  },
  "hsl": {
    "h": 217.2,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.37413,
    "c": 0.11406,
    "h": 259.8
  },
  "luminance": 0.05095
}

Semantic roles & 50–950 ramp

primary
#183E7C
secondary
#B1863F
accent
#A93DEA
background
#F6F6FA
surface
#EBECF3
border
#C6C7CD
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #183E7C

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

Preview Lab → · Contrast checker → · Palette generator →

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