#315F94#315F94

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

Color values

HEX#315F94
RGBrgb(49, 95, 148)
HSLhsl(212, 50%, 39%)
HSVhsv(212, 67%, 58%)
CMYKcmyk(66.9%, 35.8%, 0%, 42%)
CIE-LABlab(39.54, 2.06, -33.76)
CIE-LCHlch(39.54, 33.82, 273.49°)
OKLaboklab(47.89% -0.0285 -0.0957)
OKLCHoklch(47.89% 0.1 253.4)
XYZxyz(10.7022, 10.9744, 29.5655)
Luminance0.1098 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315F94 #946631
analogous
#319094 #315F94 #343194
triadic
#315F94 #94315F #5F9431
tetradic
#315F94 #943190 #946631 #319434
square
#315F94 #943190 #946631 #319434
split-complementary
#315F94 #943431 #909431
monochromatic
#132438 #224166 #315F94 #427DC0 #709CD0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##315F94#FFFFFF#000000##FFFFFF
##315F941.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)
#486296
Deuteranopia (green-blind)
#3A5993
Tritanopia (blue-blind)
#006B72
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #315f94;
/* rgb */ color: rgb(49, 95, 148);
/* oklch */ color: oklch(47.9% 0.100 253.4);
Tailwind
colors: {
  custom: {
    50: '#748cb3',
    500: '#315f94',
    950: '#000000',
  },
}
SCSS
$custom: #315f94;
$custom-light: #748cb3;
$custom-dark: #000000;
JSON
{
  "hex": "#315f94",
  "rgb": {
    "r": 49,
    "g": 95,
    "b": 148
  },
  "hsl": {
    "h": 212.121,
    "s": 50.254,
    "l": 38.627
  },
  "oklch": {
    "l": 0.47887,
    "c": 0.09988,
    "h": 253.4
  },
  "luminance": 0.10976
}

Semantic roles & 50–950 ramp

primary
#315F94
secondary
#B79369
accent
#994EDA
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090C11
muted
#7B7D80

Preview Lab

Preview with #315F94

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

Preview Lab → · Contrast checker → · Palette generator →

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