#315E8B#315E8B

#315E8B is a mid, moderate cyan. Relative luminance 0.105; OKLCH L 47.1% C 0.089 H 250.2°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#315E8B
RGBrgb(49, 94, 139)
HSLhsl(210, 48%, 37%)
HSVhsv(210, 65%, 55%)
CMYKcmyk(64.7%, 32.4%, 0%, 45.5%)
CIE-LABlab(38.76, -0.57, -29.55)
CIE-LCHlch(38.76, 29.55, 268.89°)
OKLaboklab(47.13% -0.03 -0.0835)
OKLCHoklch(47.13% 0.089 250.2)
XYZxyz(9.9278, 10.5215, 25.9287)
Luminance0.1052 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315E8B #8B5E31
analogous
#318B8B #315E8B #31318B
triadic
#315E8B #8B315E #5E8B31
tetradic
#315E8B #8B318B #8B5E31 #318B31
square
#315E8B #8B318B #8B5E31 #318B31
split-complementary
#315E8B #8B3131 #8B8B31
monochromatic
#112131 #213F5E #315E8B #417DB8 #6B9BCB

Accessibility & contrast

On white

6.76
#315E8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#315E8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #315E8B
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315E8B#FFFFFF#000000##FFFFFF
##315E8B1.006.763.106.76
#FFFFFF6.761.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B608D
Deuteranopia (green-blind)
#3E578A
Tritanopia (blue-blind)
#00696E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #315e8b;
/* rgb */ color: rgb(49, 94, 139);
/* oklch */ color: oklch(47.1% 0.089 250.2);
Tailwind
colors: {
  custom: {
    50: '#728bad',
    500: '#315e8b',
    950: '#000000',
  },
}
SCSS
$custom: #315e8b;
$custom-light: #728bad;
$custom-dark: #000000;
JSON
{
  "hex": "#315e8b",
  "rgb": {
    "r": 49,
    "g": 94,
    "b": 139
  },
  "hsl": {
    "h": 210,
    "s": 47.872,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47127,
    "c": 0.08871,
    "h": 250.2
  },
  "luminance": 0.10522
}

Semantic roles & 50–950 ramp

primary
#315E8B
secondary
#B28C65
accent
#9450D7
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080C10
muted
#7B7D7F

Preview Lab

Preview with #315E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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