#183F58#183F58

#183F58 is a dark, moderate cyan. Relative luminance 0.045; OKLCH L 35.2% C 0.062 H 240.0°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#183F58
RGBrgb(24, 63, 88)
HSLhsl(203, 57%, 22%)
HSVhsv(203, 73%, 35%)
CMYKcmyk(72.7%, 28.4%, 0%, 65.5%)
CIE-LABlab(25.12, -4.55, -18.99)
CIE-LCHlch(25.12, 19.53, 256.52°)
OKLaboklab(35.23% -0.0309 -0.0535)
OKLCHoklch(35.23% 0.062 240)
XYZxyz(3.9150, 4.4534, 9.8839)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183F58 #583118
analogous
#185851 #183F58 #181F58
triadic
#183F58 #58183F #3F5818
tetradic
#183F58 #511858 #583118 #1F5818
square
#183F58 #511858 #583118 #1F5818
split-complementary
#183F58 #58181F #585118
monochromatic
#071118 #0B1D28 #183F58 #256188 #3284B8

Accessibility & contrast

On white

11.11
#183F58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#183F58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183F58
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183F58#FFFFFF#000000##FFFFFF
##183F581.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333F59
Deuteranopia (green-blind)
#2B3958
Tritanopia (blue-blind)
#004548
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #183f58;
/* rgb */ color: rgb(24, 63, 88);
/* oklch */ color: oklch(35.2% 0.062 240.0);
Tailwind
colors: {
  custom: {
    50: '#5d7387',
    500: '#183f58',
    950: '#000000',
  },
}
SCSS
$custom: #183f58;
$custom-light: #5d7387;
$custom-dark: #000000;
JSON
{
  "hex": "#183f58",
  "rgb": {
    "r": 24,
    "g": 63,
    "b": 88
  },
  "hsl": {
    "h": 203.438,
    "s": 57.143,
    "l": 21.961
  },
  "oklch": {
    "l": 0.35228,
    "c": 0.06177,
    "h": 240
  },
  "luminance": 0.04454
}

Semantic roles & 50–950 ramp

primary
#183F58
secondary
#8F5D3D
accent
#8347E0
background
#F5F7F8
surface
#E9EDEF
border
#C5C8CA
text
#05080B
muted
#797B7C

Preview Lab

Preview with #183F58

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

Preview Lab → · Contrast checker → · Palette generator →

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