#315F89#315F89

#315F89 is a mid, moderate cyan. Relative luminance 0.106; OKLCH L 47.3% C 0.085 H 248.1°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#315F89
RGBrgb(49, 95, 137)
HSLhsl(209, 47%, 36%)
HSVhsv(209, 64%, 54%)
CMYKcmyk(64.2%, 30.7%, 0%, 46.3%)
CIE-LABlab(38.97, -1.91, -28.01)
CIE-LCHlch(38.97, 28.07, 266.09°)
OKLaboklab(47.26% -0.0318 -0.079)
OKLCHoklch(47.26% 0.085 248.1)
XYZxyz(9.8725, 10.6426, 25.1960)
Luminance0.1064 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315F89 #895B31
analogous
#318987 #315F89 #313389
triadic
#315F89 #89315F #5F8931
tetradic
#315F89 #873189 #895B31 #338931
square
#315F89 #873189 #895B31 #338931
split-complementary
#315F89 #893133 #898731
monochromatic
#11202F #21405C #315F89 #417EB6 #6B9CCA

Accessibility & contrast

On white

6.71
#315F89 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#315F89 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #315F89
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315F89#FFFFFF#000000##FFFFFF
##315F891.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D618B
Deuteranopia (green-blind)
#415888
Tritanopia (blue-blind)
#00696E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #315f89;
/* rgb */ color: rgb(49, 95, 137);
/* oklch */ color: oklch(47.3% 0.085 248.1);
Tailwind
colors: {
  custom: {
    50: '#728cab',
    500: '#315f89',
    950: '#000000',
  },
}
SCSS
$custom: #315f89;
$custom-light: #728cab;
$custom-dark: #000000;
JSON
{
  "hex": "#315f89",
  "rgb": {
    "r": 49,
    "g": 95,
    "b": 137
  },
  "hsl": {
    "h": 208.636,
    "s": 47.312,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47258,
    "c": 0.08514,
    "h": 248.1
  },
  "luminance": 0.10644
}

Semantic roles & 50–950 ramp

primary
#315F89
secondary
#B18964
accent
#9151D7
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080C10
muted
#7B7D7F

Preview Lab

Preview with #315F89

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

Preview Lab → · Contrast checker → · Palette generator →

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