#31849F#31849F

#31849F is a mid, moderate cyan. Relative luminance 0.197; OKLCH L 57.5% C 0.088 H 223.3°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#31849F
RGBrgb(49, 132, 159)
HSLhsl(195, 53%, 41%)
HSVhsv(195, 69%, 62%)
CMYKcmyk(69.2%, 17%, 0%, 37.6%)
CIE-LABlab(51.45, -15.95, -21.70)
CIE-LCHlch(51.45, 26.93, 233.67°)
OKLaboklab(57.49% -0.0644 -0.0606)
OKLCHoklch(57.49% 0.088 223.3)
XYZxyz(15.7733, 19.6570, 35.7570)
Luminance0.1966 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31849F #9F4C31
analogous
#319F83 #31849F #314D9F
triadic
#31849F #9F3184 #849F31
tetradic
#31849F #83319F #9F4C31 #4D9F31
square
#31849F #83319F #9F4C31 #4D9F31
split-complementary
#31849F #9F314D #9F8331
monochromatic
#143641 #235D70 #31849F #47A7C6 #76BDD5

Accessibility & contrast

On white

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

On black

4.93
#31849F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31849F
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31849F#FFFFFF#000000##000000
##31849F1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7581A0
Deuteranopia (green-blind)
#65769F
Tritanopia (blue-blind)
#008C8D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #31849f;
/* rgb */ color: rgb(49, 132, 159);
/* oklch */ color: oklch(57.5% 0.088 223.3);
Tailwind
colors: {
  custom: {
    50: '#77a8bb',
    500: '#31849f',
    950: '#000000',
  },
}
SCSS
$custom: #31849f;
$custom-light: #77a8bb;
$custom-dark: #000000;
JSON
{
  "hex": "#31849f",
  "rgb": {
    "r": 49,
    "g": 132,
    "b": 159
  },
  "hsl": {
    "h": 194.727,
    "s": 52.885,
    "l": 40.784
  },
  "oklch": {
    "l": 0.57492,
    "c": 0.08846,
    "h": 223.3
  },
  "luminance": 0.19659
}

Semantic roles & 50–950 ramp

primary
#31849F
secondary
#BD826F
accent
#6F4CDC
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A0F11
muted
#7C7F80

Preview Lab

Preview with #31849F

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

Preview Lab → · Contrast checker → · Palette generator →

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