#3154C0#3154C0

#3154C0 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.6% C 0.174 H 266.3°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#3154C0
RGBrgb(49, 84, 192)
HSLhsl(225, 59%, 47%)
HSVhsv(225, 74%, 75%)
CMYKcmyk(74.5%, 56.3%, 0%, 24.7%)
CIE-LABlab(39.24, 25.64, -60.30)
CIE-LCHlch(39.24, 65.52, 293.03°)
OKLaboklab(48.57% -0.0113 -0.1739)
OKLCHoklch(48.57% 0.174 266.3)
XYZxyz(13.9480, 10.7979, 51.2081)
Luminance0.1080 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3154C0 #C09D31
analogous
#319BC0 #3154C0 #5631C0
triadic
#3154C0 #C03154 #54C031
tetradic
#3154C0 #C0319B #C09D31 #31C056
square
#3154C0 #C0319B #C09D31 #31C056
split-complementary
#3154C0 #C05631 #9BC031
monochromatic
#18295E #253F8F #3154C0 #5978D5 #8A9FE1

Accessibility & contrast

On white

6.65
#3154C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#3154C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3154C0
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3154C0#FFFFFF#000000##FFFFFF
##3154C01.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C4
Deuteranopia (green-blind)
#0056BE
Tritanopia (blue-blind)
#006F82
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3154c0;
/* rgb */ color: rgb(49, 84, 192);
/* oklch */ color: oklch(48.6% 0.174 266.3);
Tailwind
colors: {
  custom: {
    50: '#7d83d4',
    500: '#3154c0',
    950: '#000000',
  },
}
SCSS
$custom: #3154c0;
$custom-light: #7d83d4;
$custom-dark: #000000;
JSON
{
  "hex": "#3154c0",
  "rgb": {
    "r": 49,
    "g": 84,
    "b": 192
  },
  "hsl": {
    "h": 225.315,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.48565,
    "c": 0.17424,
    "h": 266.3
  },
  "luminance": 0.10799
}

Semantic roles & 50–950 ramp

primary
#3154C0
secondary
#CBB982
accent
#BC45E3
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #3154C0

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

Preview Lab → · Contrast checker → · Palette generator →

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