#315ACF#315ACF

#315ACF is a mid, vivid blue. Relative luminance 0.125; OKLCH L 51.0% C 0.187 H 265.5°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#315ACF
RGBrgb(49, 90, 207)
HSLhsl(224, 62%, 50%)
HSVhsv(224, 76%, 81%)
CMYKcmyk(76.3%, 56.5%, 0%, 18.8%)
CIE-LABlab(41.95, 27.33, -64.57)
CIE-LCHlch(41.95, 70.12, 292.94°)
OKLaboklab(50.96% -0.0148 -0.1863)
OKLCHoklch(50.96% 0.187 265.5)
XYZxyz(16.1813, 12.4685, 60.5732)
Luminance0.1247 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315ACF #CFA631
analogous
#31A9CF #315ACF #5731CF
triadic
#315ACF #CF315A #5ACF31
tetradic
#315ACF #CF31A9 #CFA631 #31CF57
square
#315ACF #CF31A9 #CFA631 #31CF57
split-complementary
#315ACF #CF5731 #A9CF31
monochromatic
#192F6C #25449E #315ACF #6382DB #94AAE6

Accessibility & contrast

On white

6.01
#315ACF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#315ACF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #315ACF
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315ACF#FFFFFF#000000##FFFFFF
##315ACF1.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD3
Deuteranopia (green-blind)
#005CCD
Tritanopia (blue-blind)
#00778C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #315acf;
/* rgb */ color: rgb(49, 90, 207);
/* oklch */ color: oklch(51.0% 0.187 265.5);
Tailwind
colors: {
  custom: {
    50: '#8088df',
    500: '#315acf',
    950: '#000000',
  },
}
SCSS
$custom: #315acf;
$custom-light: #8088df;
$custom-dark: #000000;
JSON
{
  "hex": "#315acf",
  "rgb": {
    "r": 49,
    "g": 90,
    "b": 207
  },
  "hsl": {
    "h": 224.43,
    "s": 62.205,
    "l": 50.196
  },
  "oklch": {
    "l": 0.50961,
    "c": 0.18694,
    "h": 265.5
  },
  "luminance": 0.1247
}

Semantic roles & 50–950 ramp

primary
#315ACF
secondary
#D1BF8B
accent
#BB43E5
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #315ACF

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

Preview Lab → · Contrast checker → · Palette generator →

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