#315E93#315E93

#315E93 is a mid, moderate cyan. Relative luminance 0.108; OKLCH L 47.6% C 0.100 H 253.9°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#315E93
RGBrgb(49, 94, 147)
HSLhsl(212, 50%, 38%)
HSVhsv(212, 67%, 58%)
CMYKcmyk(66.7%, 36.1%, 0%, 42.4%)
CIE-LABlab(39.18, 2.33, -33.72)
CIE-LCHlch(39.18, 33.80, 273.95°)
OKLaboklab(47.59% -0.0277 -0.0956)
OKLCHoklch(47.59% 0.1 253.9)
XYZxyz(10.5339, 10.7639, 29.1206)
Luminance0.1076 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315E93 #936631
analogous
#318F93 #315E93 #353193
triadic
#315E93 #93315E #5E9331
tetradic
#315E93 #93318F #936631 #319335
square
#315E93 #93318F #936631 #319335
split-complementary
#315E93 #933531 #8F9331
monochromatic
#122337 #224165 #315E93 #417BC0 #6F9BCF

Accessibility & contrast

On white

6.66
#315E93 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#315E93 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #315E93
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315E93#FFFFFF#000000##FFFFFF
##315E931.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#476195
Deuteranopia (green-blind)
#395892
Tritanopia (blue-blind)
#006A71
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #315e93;
/* rgb */ color: rgb(49, 94, 147);
/* oklch */ color: oklch(47.6% 0.100 253.9);
Tailwind
colors: {
  custom: {
    50: '#748bb3',
    500: '#315e93',
    950: '#000000',
  },
}
SCSS
$custom: #315e93;
$custom-light: #748bb3;
$custom-dark: #000000;
JSON
{
  "hex": "#315e93",
  "rgb": {
    "r": 49,
    "g": 94,
    "b": 147
  },
  "hsl": {
    "h": 212.449,
    "s": 50,
    "l": 38.431
  },
  "oklch": {
    "l": 0.4759,
    "c": 0.09956,
    "h": 253.9
  },
  "luminance": 0.10765
}

Semantic roles & 50–950 ramp

primary
#315E93
secondary
#B79369
accent
#9A4EDA
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #315E93

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

Preview Lab → · Contrast checker → · Palette generator →

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