#31849E#31849E

#31849E is a mid, moderate cyan. Relative luminance 0.196; OKLCH L 57.4% C 0.088 H 222.4°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#31849E
RGBrgb(49, 132, 158)
HSLhsl(194, 53%, 41%)
HSVhsv(194, 69%, 62%)
CMYKcmyk(69%, 16.5%, 0%, 38%)
CIE-LABlab(51.41, -16.29, -21.18)
CIE-LCHlch(51.41, 26.71, 232.44°)
OKLaboklab(57.45% -0.0648 -0.0591)
OKLCHoklch(57.45% 0.088 222.4)
XYZxyz(15.6869, 19.6224, 35.3019)
Luminance0.1962 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31849E #9E4B31
analogous
#319E81 #31849E #314D9E
triadic
#31849E #9E3184 #849E31
tetradic
#31849E #81319E #9E4B31 #4D9E31
square
#31849E #81319E #9E4B31 #4D9E31
split-complementary
#31849E #9E314D #9E8131
monochromatic
#143641 #235D6F #31849E #46A7C6 #75BED4

Accessibility & contrast

On white

4.26
#31849E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#31849E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31849E
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31849E#FFFFFF#000000##000000
##31849E1.004.264.924.92
#FFFFFF4.261.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#75819F
Deuteranopia (green-blind)
#66769E
Tritanopia (blue-blind)
#008C8C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #31849e;
/* rgb */ color: rgb(49, 132, 158);
/* oklch */ color: oklch(57.4% 0.088 222.4);
Tailwind
colors: {
  custom: {
    50: '#77a8ba',
    500: '#31849e',
    950: '#000000',
  },
}
SCSS
$custom: #31849e;
$custom-light: #77a8ba;
$custom-dark: #000000;
JSON
{
  "hex": "#31849e",
  "rgb": {
    "r": 49,
    "g": 132,
    "b": 158
  },
  "hsl": {
    "h": 194.312,
    "s": 52.657,
    "l": 40.588
  },
  "oklch": {
    "l": 0.57447,
    "c": 0.08774,
    "h": 222.4
  },
  "luminance": 0.19624
}

Semantic roles & 50–950 ramp

primary
#31849E
secondary
#BC816E
accent
#6E4CDC
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A0F11
muted
#7C7F80

Preview Lab

Preview with #31849E

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

Preview Lab → · Contrast checker → · Palette generator →

#31849E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva