#315F8F#315F8F

#315F8F is a mid, moderate cyan. Relative luminance 0.108; OKLCH L 47.6% C 0.093 H 251.3°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#315F8F
RGBrgb(49, 95, 143)
HSLhsl(211, 49%, 38%)
HSVhsv(211, 66%, 56%)
CMYKcmyk(65.7%, 33.6%, 0%, 43.9%)
CIE-LABlab(39.27, 0.24, -31.16)
CIE-LCHlch(39.27, 31.16, 270.44°)
OKLaboklab(47.6% -0.0299 -0.0882)
OKLCHoklch(47.6% 0.093 251.3)
XYZxyz(10.3149, 10.8195, 27.5261)
Luminance0.1082 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315F8F #8F6131
analogous
#318E8F #315F8F #32318F
triadic
#315F8F #8F315F #5F8F31
tetradic
#315F8F #8F318E #8F6131 #318F32
square
#315F8F #8F318E #8F6131 #318F32
split-complementary
#315F8F #8F3231 #8E8F31
monochromatic
#122234 #214161 #315F8F #417DBD #6D9CCD

Accessibility & contrast

On white

6.64
#315F8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#315F8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #315F8F
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315F8F#FFFFFF#000000##FFFFFF
##315F8F1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A6191
Deuteranopia (green-blind)
#3D588E
Tritanopia (blue-blind)
#006A70
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #315f8f;
/* rgb */ color: rgb(49, 95, 143);
/* oklch */ color: oklch(47.6% 0.093 251.3);
Tailwind
colors: {
  custom: {
    50: '#738cb0',
    500: '#315f8f',
    950: '#000000',
  },
}
SCSS
$custom: #315f8f;
$custom-light: #738cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#315f8f",
  "rgb": {
    "r": 49,
    "g": 95,
    "b": 143
  },
  "hsl": {
    "h": 210.638,
    "s": 48.958,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47596,
    "c": 0.0931,
    "h": 251.3
  },
  "luminance": 0.10821
}

Semantic roles & 50–950 ramp

primary
#315F8F
secondary
#B58F67
accent
#954FD9
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#090C10
muted
#7B7D7F

Preview Lab

Preview with #315F8F

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

Preview Lab → · Contrast checker → · Palette generator →

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