#315DC9#315DC9

#315DC9 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.1% C 0.175 H 264.3°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#315DC9
RGBrgb(49, 93, 201)
HSLhsl(223, 61%, 49%)
HSVhsv(223, 76%, 79%)
CMYKcmyk(75.6%, 53.7%, 0%, 21.2%)
CIE-LABlab(42.30, 23.15, -60.54)
CIE-LCHlch(42.30, 64.82, 290.93°)
OKLaboklab(51.09% -0.0174 -0.1745)
OKLCHoklch(51.09% 0.175 264.3)
XYZxyz(15.7198, 12.6970, 56.8693)
Luminance0.1270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315DC9 #C99D31
analogous
#31A9C9 #315DC9 #5131C9
triadic
#315DC9 #C9315D #5DC931
tetradic
#315DC9 #C931A9 #C99D31 #31C951
square
#315DC9 #C931A9 #C99D31 #31C951
split-complementary
#315DC9 #C95131 #A9C931
monochromatic
#192F67 #254698 #315DC9 #5F82D8 #90A9E4

Accessibility & contrast

On white

5.93
#315DC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#315DC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #315DC9
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315DC9#FFFFFF#000000##FFFFFF
##315DC91.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#016BCD
Deuteranopia (green-blind)
#005DC7
Tritanopia (blue-blind)
#00778A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #315dc9;
/* rgb */ color: rgb(49, 93, 201);
/* oklch */ color: oklch(51.1% 0.175 264.3);
Tailwind
colors: {
  custom: {
    50: '#7f8ada',
    500: '#315dc9',
    950: '#000000',
  },
}
SCSS
$custom: #315dc9;
$custom-light: #7f8ada;
$custom-dark: #000000;
JSON
{
  "hex": "#315dc9",
  "rgb": {
    "r": 49,
    "g": 93,
    "b": 201
  },
  "hsl": {
    "h": 222.632,
    "s": 60.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.51087,
    "c": 0.17532,
    "h": 264.3
  },
  "luminance": 0.12699
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #315DC9

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

Preview Lab → · Contrast checker → · Palette generator →

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