#185795#185795

#185795 is a mid, moderate cyan. Relative luminance 0.092; OKLCH L 45.2% C 0.119 H 252.1°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#185795
RGBrgb(24, 87, 149)
HSLhsl(210, 72%, 34%)
HSVhsv(210, 84%, 58%)
CMYKcmyk(83.9%, 41.6%, 0%, 41.6%)
CIE-LABlab(36.33, 4.09, -39.51)
CIE-LCHlch(36.33, 39.72, 275.91°)
OKLaboklab(45.17% -0.0365 -0.113)
OKLCHoklch(45.17% 0.119 252.1)
XYZxyz(9.2076, 9.1794, 29.7144)
Luminance0.0918 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#185795 #955618
analogous
#189595 #185795 #181995
triadic
#185795 #951857 #579518
tetradic
#185795 #951895 #955618 #199518
square
#185795 #951895 #955618 #199518
split-complementary
#185795 #951819 #959518
monochromatic
#07192C #103860 #185795 #2076CA #4694E1

Accessibility & contrast

On white

7.40
#185795 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#185795 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #185795
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##185795#FFFFFF#000000##FFFFFF
##1857951.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385B97
Deuteranopia (green-blind)
#235094
Tritanopia (blue-blind)
#00666E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #185795;
/* rgb */ color: rgb(24, 87, 149);
/* oklch */ color: oklch(45.2% 0.119 252.1);
Tailwind
colors: {
  custom: {
    50: '#6b85b4',
    500: '#185795',
    950: '#000000',
  },
}
SCSS
$custom: #185795;
$custom-light: #6b85b4;
$custom-dark: #000000;
JSON
{
  "hex": "#185795",
  "rgb": {
    "r": 24,
    "g": 87,
    "b": 149
  },
  "hsl": {
    "h": 209.76,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.45167,
    "c": 0.11879,
    "h": 252.1
  },
  "luminance": 0.09181
}

Semantic roles & 50–950 ramp

primary
#185795
secondary
#C28446
accent
#9339EF
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #185795

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

Preview Lab → · Contrast checker → · Palette generator →

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