#315E7E#315E7E

#315E7E is a mid, moderate cyan. Relative luminance 0.102; OKLCH L 46.4% C 0.072 H 241.6°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#315E7E
RGBrgb(49, 94, 126)
HSLhsl(205, 44%, 34%)
HSVhsv(205, 61%, 49%)
CMYKcmyk(61.1%, 25.4%, 0%, 50.6%)
CIE-LABlab(38.13, -5.16, -22.62)
CIE-LCHlch(38.13, 23.20, 257.15°)
OKLaboklab(46.43% -0.0343 -0.0634)
OKLCHoklch(46.43% 0.072 241.6)
XYZxyz(9.0338, 10.1639, 21.2204)
Luminance0.1017 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315E7E #7E5131
analogous
#317E78 #315E7E #31387E
triadic
#315E7E #7E315E #5E7E31
tetradic
#315E7E #78317E #7E5131 #387E31
square
#315E7E #78317E #7E5131 #387E31
split-complementary
#315E7E #7E3138 #7E7831
monochromatic
#0F1C26 #203D52 #315E7E #427FAA #669DC3

Accessibility & contrast

On white

6.92
#315E7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#315E7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #315E7E
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315E7E#FFFFFF#000000##FFFFFF
##315E7E1.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505E7F
Deuteranopia (green-blind)
#45567D
Tritanopia (blue-blind)
#006669
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #315e7e;
/* rgb */ color: rgb(49, 94, 126);
/* oklch */ color: oklch(46.4% 0.072 241.6);
Tailwind
colors: {
  custom: {
    50: '#708ba3',
    500: '#315e7e',
    950: '#000000',
  },
}
SCSS
$custom: #315e7e;
$custom-light: #708ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#315e7e",
  "rgb": {
    "r": 49,
    "g": 94,
    "b": 126
  },
  "hsl": {
    "h": 204.935,
    "s": 44,
    "l": 34.314
  },
  "oklch": {
    "l": 0.46425,
    "c": 0.07213,
    "h": 241.6
  },
  "luminance": 0.10165
}

Semantic roles & 50–950 ramp

primary
#315E7E
secondary
#AB7F60
accent
#8954D4
background
#F7F8FA
surface
#EDF0F3
border
#C8CBCD
text
#080C0F
muted
#7B7D7F

Preview Lab

Preview with #315E7E

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

Preview Lab → · Contrast checker → · Palette generator →

#315E7E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva