#183F6D#183F6D

#183F6D is a dark, moderate cyan. Relative luminance 0.049; OKLCH L 36.6% C 0.091 H 254.5°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#183F6D
RGBrgb(24, 63, 109)
HSLhsl(212, 64%, 26%)
HSVhsv(212, 78%, 43%)
CMYKcmyk(78%, 42.2%, 0%, 57.3%)
CIE-LABlab(26.31, 3.88, -30.67)
CIE-LCHlch(26.31, 30.92, 277.22°)
OKLaboklab(36.56% -0.0243 -0.0875)
OKLCHoklch(36.56% 0.091 254.5)
XYZxyz(4.9135, 4.8528, 15.1428)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183F6D #6D4618
analogous
#18696D #183F6D #1B186D
triadic
#183F6D #6D183F #3F6D18
tetradic
#183F6D #6D1869 #6D4618 #186D1B
square
#183F6D #6D1869 #6D4618 #186D1B
split-complementary
#183F6D #6D1B18 #696D18
monochromatic
#060E19 #0D223B #183F6D #235C9F #2E79D1

Accessibility & contrast

On white

10.66
#183F6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #183F6D
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183F6D#FFFFFF#000000##FFFFFF
##183F6D1.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29436F
Deuteranopia (green-blind)
#1B3B6C
Tritanopia (blue-blind)
#004A50
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #183f6d;
/* rgb */ color: rgb(24, 63, 109);
/* oklch */ color: oklch(36.6% 0.091 254.5);
Tailwind
colors: {
  custom: {
    50: '#627397',
    500: '#183f6d',
    950: '#000000',
  },
}
SCSS
$custom: #183f6d;
$custom-light: #627397;
$custom-dark: #000000;
JSON
{
  "hex": "#183f6d",
  "rgb": {
    "r": 24,
    "g": 63,
    "b": 109
  },
  "hsl": {
    "h": 212.471,
    "s": 63.91,
    "l": 26.078
  },
  "oklch": {
    "l": 0.36556,
    "c": 0.09085,
    "h": 254.5
  },
  "luminance": 0.04853
}

Semantic roles & 50–950 ramp

primary
#183F6D
secondary
#A3753E
accent
#9B41E7
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06080D
muted
#7A7B7E

Preview Lab

Preview with #183F6D

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

Preview Lab → · Contrast checker → · Palette generator →

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