#183F6C#183F6C

#183F6C is a dark, moderate cyan. Relative luminance 0.048; OKLCH L 36.5% C 0.089 H 254.1°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#183F6C
RGBrgb(24, 63, 108)
HSLhsl(212, 64%, 26%)
HSVhsv(212, 78%, 42%)
CMYKcmyk(77.8%, 41.7%, 0%, 57.6%)
CIE-LABlab(26.25, 3.47, -30.13)
CIE-LCHlch(26.25, 30.33, 276.58°)
OKLaboklab(36.49% -0.0245 -0.086)
OKLCHoklch(36.49% 0.089 254.1)
XYZxyz(4.8600, 4.8314, 14.8609)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183F6C #6C4518
analogous
#18696C #183F6C #1B186C
triadic
#183F6C #6C183F #3F6C18
tetradic
#183F6C #6C1869 #6C4518 #186C1B
square
#183F6C #6C1869 #6C4518 #186C1B
split-complementary
#183F6C #6C1B18 #696C18
monochromatic
#060F19 #0D223A #183F6C #235C9E #2E79D0

Accessibility & contrast

On white

10.68
#183F6C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#183F6C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183F6C
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183F6C#FFFFFF#000000##FFFFFF
##183F6C1.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A426E
Deuteranopia (green-blind)
#1D3B6B
Tritanopia (blue-blind)
#004A50
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #183f6c;
/* rgb */ color: rgb(24, 63, 108);
/* oklch */ color: oklch(36.5% 0.089 254.1);
Tailwind
colors: {
  custom: {
    50: '#627396',
    500: '#183f6c',
    950: '#000000',
  },
}
SCSS
$custom: #183f6c;
$custom-light: #627396;
$custom-dark: #000000;
JSON
{
  "hex": "#183f6c",
  "rgb": {
    "r": 24,
    "g": 63,
    "b": 108
  },
  "hsl": {
    "h": 212.143,
    "s": 63.636,
    "l": 25.882
  },
  "oklch": {
    "l": 0.36488,
    "c": 0.0894,
    "h": 254.1
  },
  "luminance": 0.04832
}

Semantic roles & 50–950 ramp

primary
#183F6C
secondary
#A2733E
accent
#9A41E7
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06080D
muted
#7A7B7E

Preview Lab

Preview with #183F6C

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

Preview Lab → · Contrast checker → · Palette generator →

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