#184781#184781

#184781 is a dark, moderate cyan. Relative luminance 0.063; OKLCH L 39.9% C 0.110 H 255.7°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#184781
RGBrgb(24, 71, 129)
HSLhsl(213, 69%, 30%)
HSVhsv(213, 81%, 51%)
CMYKcmyk(81.4%, 45%, 0%, 49.4%)
CIE-LABlab(30.12, 6.62, -37.18)
CIE-LCHlch(30.12, 37.77, 280.10°)
OKLaboklab(39.93% -0.0271 -0.1065)
OKLCHoklch(39.93% 0.11 255.7)
XYZxyz(6.5909, 6.2849, 21.6304)
Luminance0.0629 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#184781 #815218
analogous
#187B81 #184781 #1E1881
triadic
#184781 #811847 #478118
tetradic
#184781 #81187B #815218 #18811E
square
#184781 #81187B #815218 #18811E
split-complementary
#184781 #811E18 #7B8118
monochromatic
#050E1A #0E2B4D #184781 #2263B5 #3981DA

Accessibility & contrast

On white

9.30
#184781 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#184781 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #184781
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##184781#FFFFFF#000000##FFFFFF
##1847811.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4C83
Deuteranopia (green-blind)
#154380
Tritanopia (blue-blind)
#00555D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #184781;
/* rgb */ color: rgb(24, 71, 129);
/* oklch */ color: oklch(39.9% 0.110 255.7);
Tailwind
colors: {
  custom: {
    50: '#6779a6',
    500: '#184781',
    950: '#000000',
  },
}
SCSS
$custom: #184781;
$custom-light: #6779a6;
$custom-dark: #000000;
JSON
{
  "hex": "#184781",
  "rgb": {
    "r": 24,
    "g": 71,
    "b": 129
  },
  "hsl": {
    "h": 213.143,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.3993,
    "c": 0.10992,
    "h": 255.7
  },
  "luminance": 0.06286
}

Semantic roles & 50–950 ramp

primary
#184781
secondary
#B58140
accent
#9D3CEB
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #184781

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

Preview Lab → · Contrast checker → · Palette generator →

#184781 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva