#31659F#31659F

#31659F is a mid, moderate cyan. Relative luminance 0.125; OKLCH L 50.0% C 0.109 H 253.0°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#31659F
RGBrgb(49, 101, 159)
HSLhsl(212, 53%, 41%)
HSVhsv(212, 69%, 62%)
CMYKcmyk(69.2%, 36.5%, 0%, 37.6%)
CIE-LABlab(41.94, 2.30, -36.53)
CIE-LCHlch(41.94, 36.60, 273.61°)
OKLaboklab(49.96% -0.0318 -0.1037)
OKLCHoklch(49.96% 0.109 253)
XYZxyz(12.1760, 12.4623, 34.5579)
Luminance0.1246 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31659F #9F6B31
analogous
#319C9F #31659F #34319F
triadic
#31659F #9F3165 #659F31
tetradic
#31659F #9F319C #9F6B31 #319F34
square
#31659F #9F319C #9F6B31 #319F34
split-complementary
#31659F #9F3431 #9C9F31
monochromatic
#142A41 #234770 #31659F #4783C6 #76A3D5

Accessibility & contrast

On white

6.01
#31659F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#31659F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #31659F
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31659F#FFFFFF#000000##FFFFFF
##31659F1.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B69A1
Deuteranopia (green-blind)
#3B5E9E
Tritanopia (blue-blind)
#00737A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #31659f;
/* rgb */ color: rgb(49, 101, 159);
/* oklch */ color: oklch(50.0% 0.109 253.0);
Tailwind
colors: {
  custom: {
    50: '#7690bb',
    500: '#31659f',
    950: '#000000',
  },
}
SCSS
$custom: #31659f;
$custom-light: #7690bb;
$custom-dark: #000000;
JSON
{
  "hex": "#31659f",
  "rgb": {
    "r": 49,
    "g": 101,
    "b": 159
  },
  "hsl": {
    "h": 211.636,
    "s": 52.885,
    "l": 40.784
  },
  "oklch": {
    "l": 0.4996,
    "c": 0.10851,
    "h": 253
  },
  "luminance": 0.12464
}

Semantic roles & 50–950 ramp

primary
#31659F
secondary
#BD986F
accent
#984CDC
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#090C12
muted
#7B7D81

Preview Lab

Preview with #31659F

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

Preview Lab → · Contrast checker → · Palette generator →

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