#31629B#31629B

#31629B is a mid, moderate cyan. Relative luminance 0.118; OKLCH L 49.0% C 0.106 H 253.7°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#31629B
RGBrgb(49, 98, 155)
HSLhsl(212, 52%, 40%)
HSVhsv(212, 68%, 61%)
CMYKcmyk(68.4%, 36.8%, 0%, 39.2%)
CIE-LABlab(40.82, 2.72, -35.92)
CIE-LCHlch(40.82, 36.02, 274.34°)
OKLaboklab(49.02% -0.0297 -0.102)
OKLCHoklch(49.02% 0.106 253.7)
XYZxyz(11.5485, 11.7537, 32.6641)
Luminance0.1176 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31629B #9B6A31
analogous
#31979B #31629B #35319B
triadic
#31629B #9B3162 #629B31
tetradic
#31629B #9B3197 #9B6A31 #319B35
square
#31629B #9B3197 #9B6A31 #319B35
split-complementary
#31629B #9B3531 #979B31
monochromatic
#14273E #22456D #31629B #4580C4 #73A0D3

Accessibility & contrast

On white

6.27
#31629B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#31629B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #31629B
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31629B#FFFFFF#000000##FFFFFF
##31629B1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49669D
Deuteranopia (green-blind)
#3A5C9A
Tritanopia (blue-blind)
#006F77
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #31629b;
/* rgb */ color: rgb(49, 98, 155);
/* oklch */ color: oklch(49.0% 0.106 253.7);
Tailwind
colors: {
  custom: {
    50: '#758eb9',
    500: '#31629b',
    950: '#000000',
  },
}
SCSS
$custom: #31629b;
$custom-light: #758eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#31629b",
  "rgb": {
    "r": 49,
    "g": 98,
    "b": 155
  },
  "hsl": {
    "h": 212.264,
    "s": 51.961,
    "l": 40
  },
  "oklch": {
    "l": 0.49015,
    "c": 0.10626,
    "h": 253.7
  },
  "luminance": 0.11755
}

Semantic roles & 50–950 ramp

primary
#31629B
secondary
#BB976D
accent
#994CDB
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#090C11
muted
#7B7D80

Preview Lab

Preview with #31629B

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

Preview Lab → · Contrast checker → · Palette generator →

#31629B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva