#315B7A#315B7A

#315B7A is a mid, moderate cyan. Relative luminance 0.095; OKLCH L 45.5% C 0.069 H 242.4°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#315B7A
RGBrgb(49, 91, 122)
HSLhsl(205, 43%, 34%)
HSVhsv(205, 60%, 48%)
CMYKcmyk(59.8%, 25.4%, 0%, 52.2%)
CIE-LABlab(37.00, -4.70, -21.93)
CIE-LCHlch(37.00, 22.42, 257.91°)
OKLaboklab(45.47% -0.0322 -0.0614)
OKLCHoklch(45.47% 0.069 242.4)
XYZxyz(8.5193, 9.5395, 19.8009)
Luminance0.0954 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315B7A #7A5031
analogous
#317A74 #315B7A #31367A
triadic
#315B7A #7A315B #5B7A31
tetradic
#315B7A #74317A #7A5031 #367A31
square
#315B7A #74317A #7A5031 #367A31
split-complementary
#315B7A #7A3136 #7A7431
monochromatic
#0E1A23 #1F3A4E #315B7A #437CA6 #649AC1

Accessibility & contrast

On white

7.22
#315B7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#315B7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #315B7A
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315B7A#FFFFFF#000000##FFFFFF
##315B7A1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5B7B
Deuteranopia (green-blind)
#435479
Tritanopia (blue-blind)
#006366
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #315b7a;
/* rgb */ color: rgb(49, 91, 122);
/* oklch */ color: oklch(45.5% 0.069 242.4);
Tailwind
colors: {
  custom: {
    50: '#7089a0',
    500: '#315b7a',
    950: '#000000',
  },
}
SCSS
$custom: #315b7a;
$custom-light: #7089a0;
$custom-dark: #000000;
JSON
{
  "hex": "#315b7a",
  "rgb": {
    "r": 49,
    "g": 91,
    "b": 122
  },
  "hsl": {
    "h": 205.479,
    "s": 42.69,
    "l": 33.529
  },
  "oklch": {
    "l": 0.4547,
    "c": 0.06935,
    "h": 242.4
  },
  "luminance": 0.0954
}

Semantic roles & 50–950 ramp

primary
#315B7A
secondary
#A87E5E
accent
#8A55D2
background
#F7F8F9
surface
#EDF0F2
border
#C8CBCC
text
#080B0E
muted
#7B7C7E

Preview Lab

Preview with #315B7A

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

Preview Lab → · Contrast checker → · Palette generator →

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