#315A8A#315A8A

#315A8A is a mid, moderate cyan. Relative luminance 0.098; OKLCH L 46.1% C 0.091 H 253.6°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#315A8A
RGBrgb(49, 90, 138)
HSLhsl(212, 48%, 37%)
HSVhsv(212, 64%, 54%)
CMYKcmyk(64.5%, 34.8%, 0%, 45.9%)
CIE-LABlab(37.48, 1.59, -30.96)
CIE-LCHlch(37.48, 31.00, 272.95°)
OKLaboklab(46.1% -0.0258 -0.0876)
OKLCHoklch(46.1% 0.091 253.6)
XYZxyz(9.5086, 9.7994, 25.4302)
Luminance0.0980 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315A8A #8A6131
analogous
#31878A #315A8A #35318A
triadic
#315A8A #8A315A #5A8A31
tetradic
#315A8A #8A3187 #8A6131 #318A35
square
#315A8A #8A3187 #8A6131 #318A35
split-complementary
#315A8A #8A3531 #878A31
monochromatic
#111F30 #213D5D #315A8A #4177B7 #6B97CA

Accessibility & contrast

On white

7.09
#315A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#315A8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #315A8A
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315A8A#FFFFFF#000000##FFFFFF
##315A8A1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455D8C
Deuteranopia (green-blind)
#395489
Tritanopia (blue-blind)
#00656B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #315a8a;
/* rgb */ color: rgb(49, 90, 138);
/* oklch */ color: oklch(46.1% 0.091 253.6);
Tailwind
colors: {
  custom: {
    50: '#7288ac',
    500: '#315a8a',
    950: '#000000',
  },
}
SCSS
$custom: #315a8a;
$custom-light: #7288ac;
$custom-dark: #000000;
JSON
{
  "hex": "#315a8a",
  "rgb": {
    "r": 49,
    "g": 90,
    "b": 138
  },
  "hsl": {
    "h": 212.36,
    "s": 47.594,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46104,
    "c": 0.09135,
    "h": 253.6
  },
  "luminance": 0.098
}

Semantic roles & 50–950 ramp

primary
#315A8A
secondary
#B28E65
accent
#9951D7
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #315A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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