#315E9A#315E9A

#315E9A is a mid, moderate cyan. Relative luminance 0.110; OKLCH L 48.0% C 0.109 H 256.3°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#315E9A
RGBrgb(49, 94, 154)
HSLhsl(214, 52%, 40%)
HSVhsv(214, 68%, 60%)
CMYKcmyk(68.2%, 39%, 0%, 39.6%)
CIE-LABlab(39.56, 4.90, -37.31)
CIE-LCHlch(39.56, 37.63, 277.48°)
OKLaboklab(48.02% -0.0258 -0.1061)
OKLCHoklch(48.02% 0.109 256.3)
XYZxyz(11.0999, 10.9904, 32.1020)
Luminance0.1099 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315E9A #9A6D31
analogous
#31929A #315E9A #39319A
triadic
#315E9A #9A315E #5E9A31
tetradic
#315E9A #9A3192 #9A6D31 #319A39
square
#315E9A #9A3192 #9A6D31 #319A39
split-complementary
#315E9A #9A3931 #929A31
monochromatic
#13253D #22426C #315E9A #457BC4 #739CD2

Accessibility & contrast

On white

6.57
#315E9A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#315E9A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #315E9A
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315E9A#FFFFFF#000000##FFFFFF
##315E9A1.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43639C
Deuteranopia (green-blind)
#345999
Tritanopia (blue-blind)
#006C74
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #315e9a;
/* rgb */ color: rgb(49, 94, 154);
/* oklch */ color: oklch(48.0% 0.109 256.3);
Tailwind
colors: {
  custom: {
    50: '#758bb8',
    500: '#315e9a',
    950: '#000000',
  },
}
SCSS
$custom: #315e9a;
$custom-light: #758bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#315e9a",
  "rgb": {
    "r": 49,
    "g": 94,
    "b": 154
  },
  "hsl": {
    "h": 214.286,
    "s": 51.724,
    "l": 39.804
  },
  "oklch": {
    "l": 0.48016,
    "c": 0.10925,
    "h": 256.3
  },
  "luminance": 0.10991
}

Semantic roles & 50–950 ramp

primary
#315E9A
secondary
#BA996C
accent
#9E4DDB
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #315E9A

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

Preview Lab → · Contrast checker → · Palette generator →

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