#31849A#31849A

#31849A is a mid, moderate cyan. Relative luminance 0.195; OKLCH L 57.3% C 0.085 H 218.7°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#31849A
RGBrgb(49, 132, 154)
HSLhsl(193, 52%, 40%)
HSVhsv(193, 68%, 60%)
CMYKcmyk(68.2%, 14.3%, 0%, 39.6%)
CIE-LABlab(51.25, -17.60, -19.09)
CIE-LCHlch(51.25, 25.97, 227.32°)
OKLaboklab(57.27% -0.0664 -0.0532)
OKLCHoklch(57.27% 0.085 218.7)
XYZxyz(15.3482, 19.4869, 33.5180)
Luminance0.1949 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31849A #9A4731
analogous
#319A7B #31849A #31509A
triadic
#31849A #9A3184 #849A31
tetradic
#31849A #7B319A #9A4731 #509A31
square
#31849A #7B319A #9A4731 #509A31
split-complementary
#31849A #9A3150 #9A7B31
monochromatic
#13343D #225C6C #31849A #45A9C4 #73BED2

Accessibility & contrast

On white

4.29
#31849A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#31849A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31849A
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31849A#FFFFFF#000000##000000
##31849A1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#76809B
Deuteranopia (green-blind)
#67759A
Tritanopia (blue-blind)
#008B8B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #31849a;
/* rgb */ color: rgb(49, 132, 154);
/* oklch */ color: oklch(57.3% 0.085 218.7);
Tailwind
colors: {
  custom: {
    50: '#76a8b7',
    500: '#31849a',
    950: '#000000',
  },
}
SCSS
$custom: #31849a;
$custom-light: #76a8b7;
$custom-dark: #000000;
JSON
{
  "hex": "#31849a",
  "rgb": {
    "r": 49,
    "g": 132,
    "b": 154
  },
  "hsl": {
    "h": 192.571,
    "s": 51.724,
    "l": 39.804
  },
  "oklch": {
    "l": 0.57271,
    "c": 0.08512,
    "h": 218.7
  },
  "luminance": 0.19489
}

Semantic roles & 50–950 ramp

primary
#31849A
secondary
#BA7D6C
accent
#6A4DDB
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A0F11
muted
#7C7F80

Preview Lab

Preview with #31849A

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

Preview Lab → · Contrast checker → · Palette generator →

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