#315482#315482

#315482 is a dark, moderate cyan. Relative luminance 0.086; OKLCH L 44.2% C 0.087 H 255.8°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#315482
RGBrgb(49, 84, 130)
HSLhsl(214, 45%, 35%)
HSVhsv(214, 62%, 51%)
CMYKcmyk(62.3%, 35.4%, 0%, 49%)
CIE-LABlab(35.21, 2.55, -29.65)
CIE-LCHlch(35.21, 29.76, 274.91°)
OKLaboklab(44.19% -0.0212 -0.0839)
OKLCHoklch(44.19% 0.087 255.8)
XYZxyz(8.4648, 8.6046, 22.3295)
Luminance0.0861 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315482 #825F31
analogous
#317C82 #315482 #373182
triadic
#315482 #823154 #548231
tetradic
#315482 #82317C #825F31 #318237
square
#315482 #82317C #825F31 #318237
split-complementary
#315482 #823731 #7C8231
monochromatic
#0F1B29 #203756 #315482 #4271AE #6890C6

Accessibility & contrast

On white

7.72
#315482 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#315482 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #315482
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315482#FFFFFF#000000##FFFFFF
##3154821.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415784
Deuteranopia (green-blind)
#364F81
Tritanopia (blue-blind)
#005E65
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #315482;
/* rgb */ color: rgb(49, 84, 130);
/* oklch */ color: oklch(44.2% 0.087 255.8);
Tailwind
colors: {
  custom: {
    50: '#7183a6',
    500: '#315482',
    950: '#000000',
  },
}
SCSS
$custom: #315482;
$custom-light: #7183a6;
$custom-dark: #000000;
JSON
{
  "hex": "#315482",
  "rgb": {
    "r": 49,
    "g": 84,
    "b": 130
  },
  "hsl": {
    "h": 214.074,
    "s": 45.251,
    "l": 35.098
  },
  "oklch": {
    "l": 0.44192,
    "c": 0.08651,
    "h": 255.8
  },
  "luminance": 0.08605
}

Semantic roles & 50–950 ramp

primary
#315482
secondary
#AD8D62
accent
#9D53D5
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #315482

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

Preview Lab → · Contrast checker → · Palette generator →

#315482 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva