#183E7E#183E7E

#183E7E is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.6% C 0.117 H 260.2°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#183E7E
RGBrgb(24, 62, 126)
HSLhsl(218, 68%, 29%)
HSVhsv(218, 81%, 49%)
CMYKcmyk(81%, 50.8%, 0%, 50.6%)
CIE-LABlab(27.14, 11.60, -40.09)
CIE-LCHlch(27.14, 41.74, 286.14°)
OKLaboklab(37.57% -0.0199 -0.1153)
OKLCHoklch(37.57% 0.117 260.2)
XYZxyz(5.8638, 5.1451, 20.4187)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183E7E #7E5818
analogous
#18717E #183E7E #25187E
triadic
#183E7E #7E183E #3E7E18
tetradic
#183E7E #7E1871 #7E5818 #187E25
square
#183E7E #7E1871 #7E5818 #187E25
split-complementary
#183E7E #7E2518 #717E18
monochromatic
#050D1A #0E254B #183E7E #2257B1 #3774D9

Accessibility & contrast

On white

10.35
#183E7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#183E7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183E7E
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183E7E#FFFFFF#000000##FFFFFF
##183E7E1.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184580
Deuteranopia (green-blind)
#003C7D
Tritanopia (blue-blind)
#004D58
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #183e7e;
/* rgb */ color: rgb(24, 62, 126);
/* oklch */ color: oklch(37.6% 0.117 260.2);
Tailwind
colors: {
  custom: {
    50: '#6672a4',
    500: '#183e7e',
    950: '#000000',
  },
}
SCSS
$custom: #183e7e;
$custom-light: #6672a4;
$custom-dark: #000000;
JSON
{
  "hex": "#183e7e",
  "rgb": {
    "r": 24,
    "g": 62,
    "b": 126
  },
  "hsl": {
    "h": 217.647,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.37569,
    "c": 0.11697,
    "h": 260.2
  },
  "luminance": 0.05146
}

Semantic roles & 50–950 ramp

primary
#183E7E
secondary
#B2883F
accent
#AA3DEB
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #183E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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