#31649F#31649F

#31649F is a mid, moderate cyan. Relative luminance 0.123; OKLCH L 49.7% C 0.110 H 253.7°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#31649F
RGBrgb(49, 100, 159)
HSLhsl(212, 53%, 41%)
HSVhsv(212, 69%, 62%)
CMYKcmyk(69.2%, 37.1%, 0%, 37.6%)
CIE-LABlab(41.64, 2.93, -37.00)
CIE-LCHlch(41.64, 37.12, 274.53°)
OKLaboklab(49.73% -0.0308 -0.1051)
OKLCHoklch(49.73% 0.11 253.7)
XYZxyz(12.0795, 12.2693, 34.5258)
Luminance0.1227 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31649F #9F6C31
analogous
#319B9F #31649F #35319F
triadic
#31649F #9F3164 #649F31
tetradic
#31649F #9F319B #9F6C31 #319F35
square
#31649F #9F319B #9F6C31 #319F35
split-complementary
#31649F #9F3531 #9B9F31
monochromatic
#142941 #234770 #31649F #4782C6 #76A2D5

Accessibility & contrast

On white

6.08
#31649F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#31649F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #31649F
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31649F#FFFFFF#000000##FFFFFF
##31649F1.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A68A1
Deuteranopia (green-blind)
#3A5E9E
Tritanopia (blue-blind)
#00727A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #31649f;
/* rgb */ color: rgb(49, 100, 159);
/* oklch */ color: oklch(49.7% 0.110 253.7);
Tailwind
colors: {
  custom: {
    50: '#768fbb',
    500: '#31649f',
    950: '#000000',
  },
}
SCSS
$custom: #31649f;
$custom-light: #768fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#31649f",
  "rgb": {
    "r": 49,
    "g": 100,
    "b": 159
  },
  "hsl": {
    "h": 212.182,
    "s": 52.885,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49725,
    "c": 0.10956,
    "h": 253.7
  },
  "luminance": 0.12271
}

Semantic roles & 50–950 ramp

primary
#31649F
secondary
#BD996F
accent
#994CDC
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#090C12
muted
#7B7D81

Preview Lab

Preview with #31649F

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

Preview Lab → · Contrast checker → · Palette generator →

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