#183D6C#183D6C

#183D6C is a dark, moderate cyan. Relative luminance 0.046; OKLCH L 36.0% C 0.092 H 255.8°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#183D6C
RGBrgb(24, 61, 108)
HSLhsl(214, 64%, 26%)
HSVhsv(214, 78%, 42%)
CMYKcmyk(77.8%, 43.5%, 0%, 57.6%)
CIE-LABlab(25.61, 4.85, -31.16)
CIE-LCHlch(25.61, 31.53, 278.86°)
OKLaboklab(35.99% -0.0225 -0.089)
OKLCHoklch(35.99% 0.092 255.8)
XYZxyz(4.7512, 4.6139, 14.8246)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183D6C #6C4718
analogous
#18676C #183D6C #1D186C
triadic
#183D6C #6C183D #3D6C18
tetradic
#183D6C #6C1867 #6C4718 #186C1D
square
#183D6C #6C1867 #6C4718 #186C1D
split-complementary
#183D6C #6C1D18 #676C18
monochromatic
#060E19 #0D213A #183D6C #23599E #2E76D0

Accessibility & contrast

On white

10.92
#183D6C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#183D6C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183D6C
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183D6C#FFFFFF#000000##FFFFFF
##183D6C1.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26416E
Deuteranopia (green-blind)
#18396B
Tritanopia (blue-blind)
#00484F
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #183d6c;
/* rgb */ color: rgb(24, 61, 108);
/* oklch */ color: oklch(36.0% 0.092 255.8);
Tailwind
colors: {
  custom: {
    50: '#627296',
    500: '#183d6c',
    950: '#000000',
  },
}
SCSS
$custom: #183d6c;
$custom-light: #627296;
$custom-dark: #000000;
JSON
{
  "hex": "#183d6c",
  "rgb": {
    "r": 24,
    "g": 61,
    "b": 108
  },
  "hsl": {
    "h": 213.571,
    "s": 63.636,
    "l": 25.882
  },
  "oklch": {
    "l": 0.35987,
    "c": 0.09182,
    "h": 255.8
  },
  "luminance": 0.04614
}

Semantic roles & 50–950 ramp

primary
#183D6C
secondary
#A2763E
accent
#9E41E7
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070D
muted
#7A7A7E

Preview Lab

Preview with #183D6C

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

Preview Lab → · Contrast checker → · Palette generator →

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