#183A62#183A62

#183A62 is a dark, moderate cyan. Relative luminance 0.041; OKLCH L 34.5% C 0.081 H 254.2°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#183A62
RGBrgb(24, 58, 98)
HSLhsl(212, 61%, 24%)
HSVhsv(212, 76%, 38%)
CMYKcmyk(75.5%, 40.8%, 0%, 61.6%)
CIE-LABlab(24.00, 2.83, -27.26)
CIE-LCHlch(24.00, 27.40, 275.92°)
OKLaboklab(34.54% -0.022 -0.0776)
OKLCHoklch(34.54% 0.081 254.2)
XYZxyz(4.0935, 4.1017, 12.1289)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183A62 #624018
analogous
#185F62 #183A62 #1B1862
triadic
#183A62 #62183A #3A6218
tetradic
#183A62 #62185F #624018 #18621B
square
#183A62 #62185F #624018 #18621B
split-complementary
#183A62 #621B18 #5F6218
monochromatic
#060F19 #0C1D31 #183A62 #245793 #3074C4

Accessibility & contrast

On white

11.54
#183A62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#183A62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183A62
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183A62#FFFFFF#000000##FFFFFF
##183A621.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283D64
Deuteranopia (green-blind)
#1C3661
Tritanopia (blue-blind)
#004349
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #183a62;
/* rgb */ color: rgb(24, 58, 98);
/* oklch */ color: oklch(34.5% 0.081 254.2);
Tailwind
colors: {
  custom: {
    50: '#5f6f8f',
    500: '#183a62',
    950: '#000000',
  },
}
SCSS
$custom: #183a62;
$custom-light: #5f6f8f;
$custom-dark: #000000;
JSON
{
  "hex": "#183a62",
  "rgb": {
    "r": 24,
    "g": 58,
    "b": 98
  },
  "hsl": {
    "h": 212.432,
    "s": 60.656,
    "l": 23.922
  },
  "oklch": {
    "l": 0.34537,
    "c": 0.08068,
    "h": 254.2
  },
  "luminance": 0.04102
}

Semantic roles & 50–950 ramp

primary
#183A62
secondary
#986F3E
accent
#9A44E4
background
#F5F6F8
surface
#EAECF0
border
#C6C7CB
text
#05070C
muted
#797A7D

Preview Lab

Preview with #183A62

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

Preview Lab → · Contrast checker → · Palette generator →

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