#315ABC#315ABC

#315ABC is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.5% C 0.161 H 264.2°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#315ABC
RGBrgb(49, 90, 188)
HSLhsl(222, 59%, 46%)
HSVhsv(222, 74%, 74%)
CMYKcmyk(73.9%, 52.1%, 0%, 26.3%)
CIE-LABlab(40.56, 20.23, -55.81)
CIE-LCHlch(40.56, 59.36, 289.92°)
OKLaboklab(49.48% -0.0162 -0.1606)
OKLCHoklch(49.48% 0.161 264.2)
XYZxyz(13.9967, 11.5946, 49.0675)
Luminance0.1160 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315ABC #BC9331
analogous
#31A0BC #315ABC #4E31BC
triadic
#315ABC #BC315A #5ABC31
tetradic
#315ABC #BC31A0 #BC9331 #31BC4E
square
#315ABC #BC31A0 #BC9331 #31BC4E
split-complementary
#315ABC #BC4E31 #A0BC31
monochromatic
#182C5B #24438B #315ABC #577CD3 #88A2E0

Accessibility & contrast

On white

6.33
#315ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#315ABC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #315ABC
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315ABC#FFFFFF#000000##FFFFFF
##315ABC1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1866BF
Deuteranopia (green-blind)
#005ABA
Tritanopia (blue-blind)
#007282
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #315abc;
/* rgb */ color: rgb(49, 90, 188);
/* oklch */ color: oklch(49.5% 0.161 264.2);
Tailwind
colors: {
  custom: {
    50: '#7c88d1',
    500: '#315abc',
    950: '#000000',
  },
}
SCSS
$custom: #315abc;
$custom-light: #7c88d1;
$custom-dark: #000000;
JSON
{
  "hex": "#315abc",
  "rgb": {
    "r": 49,
    "g": 90,
    "b": 188
  },
  "hsl": {
    "h": 222.302,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.49476,
    "c": 0.1614,
    "h": 264.2
  },
  "luminance": 0.11596
}

Semantic roles & 50–950 ramp

primary
#315ABC
secondary
#CAB47F
accent
#B446E2
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #315ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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