#315E9B#315E9B

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

Color values

HEX#315E9B
RGBrgb(49, 94, 155)
HSLhsl(215, 52%, 40%)
HSVhsv(215, 68%, 61%)
CMYKcmyk(68.4%, 39.4%, 0%, 39.2%)
CIE-LABlab(39.62, 5.27, -37.82)
CIE-LCHlch(39.62, 38.19, 277.93°)
OKLaboklab(48.08% -0.0256 -0.1076)
OKLCHoklch(48.08% 0.111 256.6)
XYZxyz(11.1836, 11.0238, 32.5424)
Luminance0.1103 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315E9B #9B6E31
analogous
#31939B #315E9B #39319B
triadic
#315E9B #9B315E #5E9B31
tetradic
#315E9B #9B3193 #9B6E31 #319B39
square
#315E9B #9B3193 #9B6E31 #319B39
split-complementary
#315E9B #9B3931 #939B31
monochromatic
#14263E #22426D #315E9B #457BC4 #739CD3

Accessibility & contrast

On white

6.55
#315E9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #315E9B
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315E9B#FFFFFF#000000##FFFFFF
##315E9B1.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43639D
Deuteranopia (green-blind)
#33599A
Tritanopia (blue-blind)
#006C75
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #315e9b;
/* rgb */ color: rgb(49, 94, 155);
/* oklch */ color: oklch(48.1% 0.111 256.6);
Tailwind
colors: {
  custom: {
    50: '#758bb9',
    500: '#315e9b',
    950: '#000000',
  },
}
SCSS
$custom: #315e9b;
$custom-light: #758bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#315e9b",
  "rgb": {
    "r": 49,
    "g": 94,
    "b": 155
  },
  "hsl": {
    "h": 214.528,
    "s": 51.961,
    "l": 40
  },
  "oklch": {
    "l": 0.48078,
    "c": 0.11064,
    "h": 256.6
  },
  "luminance": 0.11025
}

Semantic roles & 50–950 ramp

primary
#315E9B
secondary
#BB9A6D
accent
#9F4CDB
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #315E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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