#315EDA#315EDA

#315EDA is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.6% C 0.197 H 265.1°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#315EDA
RGBrgb(49, 94, 218)
HSLhsl(224, 70%, 52%)
HSVhsv(224, 78%, 85%)
CMYKcmyk(77.5%, 56.9%, 0%, 14.5%)
CIE-LABlab(43.83, 28.83, -67.82)
CIE-LCHlch(43.83, 73.70, 293.03°)
OKLaboklab(52.63% -0.0169 -0.1958)
OKLCHoklch(52.63% 0.197 265.1)
XYZxyz(17.9197, 13.7183, 68.0195)
Luminance0.1372 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315EDA #DAAD31
analogous
#31B2DA #315EDA #5931DA
triadic
#315EDA #DA315E #5EDA31
tetradic
#315EDA #DA31B2 #DAAD31 #31DA59
square
#315EDA #DA31B2 #DAAD31 #31DA59
split-complementary
#315EDA #DA5931 #B2DA31
monochromatic
#16317B #1F45AE #315EDA #6587E3 #99AFED

Accessibility & contrast

On white

5.61
#315EDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#315EDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #315EDA
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315EDA#FFFFFF#000000##FFFFFF
##315EDA1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DE
Deuteranopia (green-blind)
#0060D8
Tritanopia (blue-blind)
#007D93
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #315eda;
/* rgb */ color: rgb(49, 94, 218);
/* oklch */ color: oklch(52.6% 0.197 265.1);
Tailwind
colors: {
  custom: {
    50: '#838be6',
    500: '#315eda',
    950: '#000000',
  },
}
SCSS
$custom: #315eda;
$custom-light: #838be6;
$custom-dark: #000000;
JSON
{
  "hex": "#315eda",
  "rgb": {
    "r": 49,
    "g": 94,
    "b": 218
  },
  "hsl": {
    "h": 224.024,
    "s": 69.547,
    "l": 52.353
  },
  "oklch": {
    "l": 0.52632,
    "c": 0.19657,
    "h": 265.1
  },
  "luminance": 0.1372
}

Semantic roles & 50–950 ramp

primary
#315EDA
secondary
#D8C58F
accent
#BD3BEC
background
#F8F8FE
surface
#F0F0FC
border
#CBCBD5
text
#0C0B16
muted
#7D7C84

Preview Lab

Preview with #315EDA

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

Preview Lab → · Contrast checker → · Palette generator →

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