#315E94#315E94

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

Color values

HEX#315E94
RGBrgb(49, 94, 148)
HSLhsl(213, 50%, 39%)
HSVhsv(213, 67%, 58%)
CMYKcmyk(66.9%, 36.5%, 0%, 42%)
CIE-LABlab(39.23, 2.69, -34.24)
CIE-LCHlch(39.23, 34.34, 274.50°)
OKLaboklab(47.65% -0.0274 -0.0971)
OKLCHoklch(47.65% 0.101 254.2)
XYZxyz(10.6127, 10.7954, 29.5357)
Luminance0.1080 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315E94 #946731
analogous
#318F94 #315E94 #353194
triadic
#315E94 #94315E #5E9431
tetradic
#315E94 #94318F #946731 #319435
square
#315E94 #94318F #946731 #319435
split-complementary
#315E94 #943531 #8F9431
monochromatic
#132438 #224166 #315E94 #427BC0 #709BD0

Accessibility & contrast

On white

6.65
#315E94 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#315E94 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #315E94
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315E94#FFFFFF#000000##FFFFFF
##315E941.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#466296
Deuteranopia (green-blind)
#385893
Tritanopia (blue-blind)
#006A72
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #315e94;
/* rgb */ color: rgb(49, 94, 148);
/* oklch */ color: oklch(47.6% 0.101 254.2);
Tailwind
colors: {
  custom: {
    50: '#748bb4',
    500: '#315e94',
    950: '#000000',
  },
}
SCSS
$custom: #315e94;
$custom-light: #748bb4;
$custom-dark: #000000;
JSON
{
  "hex": "#315e94",
  "rgb": {
    "r": 49,
    "g": 94,
    "b": 148
  },
  "hsl": {
    "h": 212.727,
    "s": 50.254,
    "l": 38.627
  },
  "oklch": {
    "l": 0.4765,
    "c": 0.10094,
    "h": 254.2
  },
  "luminance": 0.10796
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #315E94

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

Preview Lab → · Contrast checker → · Palette generator →

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