#3154D0#3154D0

#3154D0 is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.9% C 0.195 H 266.8°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#3154D0
RGBrgb(49, 84, 208)
HSLhsl(227, 63%, 50%)
HSVhsv(227, 76%, 82%)
CMYKcmyk(76.4%, 59.6%, 0%, 18.4%)
CIE-LABlab(40.49, 31.56, -67.54)
CIE-LCHlch(40.49, 74.55, 295.04°)
OKLaboklab(49.89% -0.0107 -0.1951)
OKLCHoklch(49.89% 0.195 266.8)
XYZxyz(15.8181, 11.5459, 61.0572)
Luminance0.1155 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3154D0 #D0AD31
analogous
#31A4D0 #3154D0 #5D31D0
triadic
#3154D0 #D03154 #54D031
tetradic
#3154D0 #D031A4 #D0AD31 #31D05D
square
#3154D0 #D031A4 #D0AD31 #31D05D
split-complementary
#3154D0 #D05D31 #A4D031
monochromatic
#192C6E #243F9F #3154D0 #637DDB #95A7E7

Accessibility & contrast

On white

6.35
#3154D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#3154D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3154D0
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3154D0#FFFFFF#000000##FFFFFF
##3154D01.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D4
Deuteranopia (green-blind)
#0058CE
Tritanopia (blue-blind)
#00748A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #3154d0;
/* rgb */ color: rgb(49, 84, 208);
/* oklch */ color: oklch(49.9% 0.195 266.8);
Tailwind
colors: {
  custom: {
    50: '#8183df',
    500: '#3154d0',
    950: '#000000',
  },
}
SCSS
$custom: #3154d0;
$custom-light: #8183df;
$custom-dark: #000000;
JSON
{
  "hex": "#3154d0",
  "rgb": {
    "r": 49,
    "g": 84,
    "b": 208
  },
  "hsl": {
    "h": 226.792,
    "s": 62.846,
    "l": 50.392
  },
  "oklch": {
    "l": 0.49889,
    "c": 0.19545,
    "h": 266.8
  },
  "luminance": 0.11548
}

Semantic roles & 50–950 ramp

primary
#3154D0
secondary
#D2C28B
accent
#C242E6
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3154D0

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

Preview Lab → · Contrast checker → · Palette generator →

#3154D0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva