#315CC9#315CC9

#315CC9 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 50.9% C 0.177 H 264.6°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#315CC9
RGBrgb(49, 92, 201)
HSLhsl(223, 61%, 49%)
HSVhsv(223, 76%, 79%)
CMYKcmyk(75.6%, 54.2%, 0%, 21.2%)
CIE-LABlab(42.03, 23.80, -60.98)
CIE-LCHlch(42.03, 65.46, 291.32°)
OKLaboklab(50.88% -0.0166 -0.1757)
OKLCHoklch(50.88% 0.177 264.6)
XYZxyz(15.6327, 12.5226, 56.8402)
Luminance0.1252 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315CC9 #C99E31
analogous
#31A8C9 #315CC9 #5231C9
triadic
#315CC9 #C9315C #5CC931
tetradic
#315CC9 #C931A8 #C99E31 #31C952
square
#315CC9 #C931A8 #C99E31 #31C952
split-complementary
#315CC9 #C95231 #A8C931
monochromatic
#192F67 #254598 #315CC9 #5F81D8 #90A8E4

Accessibility & contrast

On white

5.99
#315CC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#315CC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #315CC9
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315CC9#FFFFFF#000000##FFFFFF
##315CC91.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCD
Deuteranopia (green-blind)
#005DC7
Tritanopia (blue-blind)
#007789
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #315cc9;
/* rgb */ color: rgb(49, 92, 201);
/* oklch */ color: oklch(50.9% 0.177 264.6);
Tailwind
colors: {
  custom: {
    50: '#7f89da',
    500: '#315cc9',
    950: '#000000',
  },
}
SCSS
$custom: #315cc9;
$custom-light: #7f89da;
$custom-dark: #000000;
JSON
{
  "hex": "#315cc9",
  "rgb": {
    "r": 49,
    "g": 92,
    "b": 201
  },
  "hsl": {
    "h": 223.026,
    "s": 60.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.50884,
    "c": 0.17653,
    "h": 264.6
  },
  "luminance": 0.12524
}

Semantic roles & 50–950 ramp

primary
#315CC9
secondary
#CFBA87
accent
#B744E4
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #315CC9

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

Preview Lab → · Contrast checker → · Palette generator →

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