#31839A#31839A

#31839A is a mid, moderate cyan. Relative luminance 0.192; OKLCH L 57.0% C 0.085 H 219.8°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#31839A
RGBrgb(49, 131, 154)
HSLhsl(193, 52%, 40%)
HSVhsv(193, 68%, 60%)
CMYKcmyk(68.2%, 14.9%, 0%, 39.6%)
CIE-LABlab(50.94, -17.06, -19.57)
CIE-LCHlch(50.94, 25.96, 228.92°)
OKLaboklab(57.02% -0.0654 -0.0545)
OKLCHoklch(57.02% 0.085 219.8)
XYZxyz(15.2133, 19.2170, 33.4731)
Luminance0.1922 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31839A #9A4831
analogous
#319A7D #31839A #314E9A
triadic
#31839A #9A3183 #839A31
tetradic
#31839A #7D319A #9A4831 #4E9A31
square
#31839A #7D319A #9A4831 #4E9A31
split-complementary
#31839A #9A314E #9A7D31
monochromatic
#13343D #225C6C #31839A #45A8C4 #73BED2

Accessibility & contrast

On white

4.34
#31839A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#31839A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31839A
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31839A#FFFFFF#000000##000000
##31839A1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#757F9B
Deuteranopia (green-blind)
#66759A
Tritanopia (blue-blind)
#008B8A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #31839a;
/* rgb */ color: rgb(49, 131, 154);
/* oklch */ color: oklch(57.0% 0.085 219.8);
Tailwind
colors: {
  custom: {
    50: '#76a7b7',
    500: '#31839a',
    950: '#000000',
  },
}
SCSS
$custom: #31839a;
$custom-light: #76a7b7;
$custom-dark: #000000;
JSON
{
  "hex": "#31839a",
  "rgb": {
    "r": 49,
    "g": 131,
    "b": 154
  },
  "hsl": {
    "h": 193.143,
    "s": 51.724,
    "l": 39.804
  },
  "oklch": {
    "l": 0.57021,
    "c": 0.08514,
    "h": 219.8
  },
  "luminance": 0.19219
}

Semantic roles & 50–950 ramp

primary
#31839A
secondary
#BA7E6C
accent
#6C4DDB
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A0F11
muted
#7C7F80

Preview Lab

Preview with #31839A

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

Preview Lab → · Contrast checker → · Palette generator →

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