#315E9C#315E9C

#315E9C is a mid, moderate cyan. Relative luminance 0.111; OKLCH L 48.1% C 0.112 H 256.9°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#315E9C
RGBrgb(49, 94, 156)
HSLhsl(215, 52%, 40%)
HSVhsv(215, 69%, 61%)
CMYKcmyk(68.6%, 39.7%, 0%, 38.8%)
CIE-LABlab(39.68, 5.64, -38.33)
CIE-LCHlch(39.68, 38.74, 278.37°)
OKLaboklab(48.14% -0.0253 -0.1091)
OKLCHoklch(48.14% 0.112 256.9)
XYZxyz(11.2679, 11.0575, 32.9865)
Luminance0.1106 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315E9C #9C6F31
analogous
#31949C #315E9C #39319C
triadic
#315E9C #9C315E #5E9C31
tetradic
#315E9C #9C3194 #9C6F31 #319C39
square
#315E9C #9C3194 #9C6F31 #319C39
split-complementary
#315E9C #9C3931 #949C31
monochromatic
#14263F #22426D #315E9C #457BC5 #749CD3

Accessibility & contrast

On white

6.54
#315E9C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#315E9C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #315E9C
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315E9C#FFFFFF#000000##FFFFFF
##315E9C1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42639E
Deuteranopia (green-blind)
#32599B
Tritanopia (blue-blind)
#006C75
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #315e9c;
/* rgb */ color: rgb(49, 94, 156);
/* oklch */ color: oklch(48.1% 0.112 256.9);
Tailwind
colors: {
  custom: {
    50: '#758bb9',
    500: '#315e9c',
    950: '#000000',
  },
}
SCSS
$custom: #315e9c;
$custom-light: #758bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#315e9c",
  "rgb": {
    "r": 49,
    "g": 94,
    "b": 156
  },
  "hsl": {
    "h": 214.766,
    "s": 52.195,
    "l": 40.196
  },
  "oklch": {
    "l": 0.4814,
    "c": 0.11204,
    "h": 256.9
  },
  "luminance": 0.11059
}

Semantic roles & 50–950 ramp

primary
#315E9C
secondary
#BB9B6D
accent
#9F4CDC
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #315E9C

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

Preview Lab → · Contrast checker → · Palette generator →

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