#315E95#315E95

#315E95 is a mid, moderate cyan. Relative luminance 0.108; OKLCH L 47.7% C 0.102 H 254.6°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#315E95
RGBrgb(49, 94, 149)
HSLhsl(213, 51%, 39%)
HSVhsv(213, 67%, 58%)
CMYKcmyk(67.1%, 36.9%, 0%, 41.6%)
CIE-LABlab(39.29, 3.06, -34.75)
CIE-LCHlch(39.29, 34.89, 275.03°)
OKLaboklab(47.71% -0.0271 -0.0987)
OKLCHoklch(47.71% 0.102 254.6)
XYZxyz(10.6922, 10.8272, 29.9543)
Luminance0.1083 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315E95 #956831
analogous
#319095 #315E95 #363195
triadic
#315E95 #95315E #5E9531
tetradic
#315E95 #953190 #956831 #319536
square
#315E95 #953190 #956831 #319536
split-complementary
#315E95 #953631 #909531
monochromatic
#132439 #224167 #315E95 #427BC1 #709BD0

Accessibility & contrast

On white

6.63
#315E95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#315E95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #315E95
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315E95#FFFFFF#000000##FFFFFF
##315E951.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#466297
Deuteranopia (green-blind)
#385894
Tritanopia (blue-blind)
#006B72
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #315e95;
/* rgb */ color: rgb(49, 94, 149);
/* oklch */ color: oklch(47.7% 0.102 254.6);
Tailwind
colors: {
  custom: {
    50: '#748bb4',
    500: '#315e95',
    950: '#000000',
  },
}
SCSS
$custom: #315e95;
$custom-light: #748bb4;
$custom-dark: #000000;
JSON
{
  "hex": "#315e95",
  "rgb": {
    "r": 49,
    "g": 94,
    "b": 149
  },
  "hsl": {
    "h": 213,
    "s": 50.505,
    "l": 38.824
  },
  "oklch": {
    "l": 0.4771,
    "c": 0.10232,
    "h": 254.6
  },
  "luminance": 0.10828
}

Semantic roles & 50–950 ramp

primary
#315E95
secondary
#B8956A
accent
#9B4EDA
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #315E95

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

Preview Lab → · Contrast checker → · Palette generator →

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