#315A8F#315A8F

#315A8F is a mid, moderate cyan. Relative luminance 0.099; OKLCH L 46.4% C 0.098 H 255.6°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#315A8F
RGBrgb(49, 90, 143)
HSLhsl(214, 49%, 38%)
HSVhsv(214, 66%, 56%)
CMYKcmyk(65.7%, 37.1%, 0%, 43.9%)
CIE-LABlab(37.75, 3.41, -33.57)
CIE-LCHlch(37.75, 33.74, 275.81°)
OKLaboklab(46.4% -0.0244 -0.0952)
OKLCHoklch(46.4% 0.098 255.6)
XYZxyz(9.8789, 9.9475, 27.3807)
Luminance0.0995 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315A8F #8F6631
analogous
#31898F #315A8F #37318F
triadic
#315A8F #8F315A #5A8F31
tetradic
#315A8F #8F3189 #8F6631 #318F37
square
#315A8F #8F3189 #8F6631 #318F37
split-complementary
#315A8F #8F3731 #898F31
monochromatic
#122134 #213D61 #315A8F #4177BD #6D97CD

Accessibility & contrast

On white

7.02
#315A8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#315A8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #315A8F
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315A8F#FFFFFF#000000##FFFFFF
##315A8F1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435E91
Deuteranopia (green-blind)
#36558E
Tritanopia (blue-blind)
#00666D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #315a8f;
/* rgb */ color: rgb(49, 90, 143);
/* oklch */ color: oklch(46.4% 0.098 255.6);
Tailwind
colors: {
  custom: {
    50: '#7388b0',
    500: '#315a8f',
    950: '#000000',
  },
}
SCSS
$custom: #315a8f;
$custom-light: #7388b0;
$custom-dark: #000000;
JSON
{
  "hex": "#315a8f",
  "rgb": {
    "r": 49,
    "g": 90,
    "b": 143
  },
  "hsl": {
    "h": 213.83,
    "s": 48.958,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46401,
    "c": 0.09833,
    "h": 255.6
  },
  "luminance": 0.09948
}

Semantic roles & 50–950 ramp

primary
#315A8F
secondary
#B59367
accent
#9D4FD9
background
#F7F8FA
surface
#EDEFF5
border
#C8CACF
text
#090B10
muted
#7B7C7F

Preview Lab

Preview with #315A8F

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

Preview Lab → · Contrast checker → · Palette generator →

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