#183F6F#183F6F

#183F6F is a dark, moderate cyan. Relative luminance 0.049; OKLCH L 36.7% C 0.094 H 255.3°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#183F6F
RGBrgb(24, 63, 111)
HSLhsl(213, 64%, 26%)
HSVhsv(213, 78%, 44%)
CMYKcmyk(78.4%, 43.2%, 0%, 56.5%)
CIE-LABlab(26.44, 4.71, -31.74)
CIE-LCHlch(26.44, 32.09, 278.43°)
OKLaboklab(36.7% -0.0238 -0.0907)
OKLCHoklch(36.7% 0.094 255.3)
XYZxyz(5.0224, 4.8963, 15.7162)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183F6F #6F4818
analogous
#186B6F #183F6F #1D186F
triadic
#183F6F #6F183F #3F6F18
tetradic
#183F6F #6F186B #6F4818 #186F1D
square
#183F6F #6F186B #6F4818 #186F1D
split-complementary
#183F6F #6F1D18 #6B6F18
monochromatic
#050E19 #0D223D #183F6F #235CA1 #2F78D2

Accessibility & contrast

On white

10.61
#183F6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#183F6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183F6F
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183F6F#FFFFFF#000000##FFFFFF
##183F6F1.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284371
Deuteranopia (green-blind)
#193B6E
Tritanopia (blue-blind)
#004A51
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #183f6f;
/* rgb */ color: rgb(24, 63, 111);
/* oklch */ color: oklch(36.7% 0.094 255.3);
Tailwind
colors: {
  custom: {
    50: '#627398',
    500: '#183f6f',
    950: '#000000',
  },
}
SCSS
$custom: #183f6f;
$custom-light: #627398;
$custom-dark: #000000;
JSON
{
  "hex": "#183f6f",
  "rgb": {
    "r": 24,
    "g": 63,
    "b": 111
  },
  "hsl": {
    "h": 213.103,
    "s": 64.444,
    "l": 26.471
  },
  "oklch": {
    "l": 0.36696,
    "c": 0.09376,
    "h": 255.3
  },
  "luminance": 0.04897
}

Semantic roles & 50–950 ramp

primary
#183F6F
secondary
#A5773E
accent
#9D40E7
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #183F6F

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

Preview Lab → · Contrast checker → · Palette generator →

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