#3154C8#3154C8

#3154C8 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.2% C 0.185 H 266.6°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#3154C8
RGBrgb(49, 84, 200)
HSLhsl(226, 61%, 49%)
HSVhsv(226, 76%, 78%)
CMYKcmyk(75.5%, 58%, 0%, 21.6%)
CIE-LABlab(39.85, 28.61, -63.95)
CIE-LCHlch(39.85, 70.05, 294.10°)
OKLaboklab(49.22% -0.0109 -0.1846)
OKLCHoklch(49.22% 0.185 266.6)
XYZxyz(14.8586, 11.1621, 56.0038)
Luminance0.1116 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3154C8 #C8A531
analogous
#31A0C8 #3154C8 #5A31C8
triadic
#3154C8 #C83154 #54C831
tetradic
#3154C8 #C831A0 #C8A531 #31C85A
square
#3154C8 #C831A0 #C8A531 #31C85A
split-complementary
#3154C8 #C85A31 #A0C831
monochromatic
#192B66 #253F97 #3154C8 #5F7BD8 #90A3E4

Accessibility & contrast

On white

6.50
#3154C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#3154C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3154C8
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3154C8#FFFFFF#000000##FFFFFF
##3154C81.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CC
Deuteranopia (green-blind)
#0057C6
Tritanopia (blue-blind)
#007186
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3154c8;
/* rgb */ color: rgb(49, 84, 200);
/* oklch */ color: oklch(49.2% 0.185 266.6);
Tailwind
colors: {
  custom: {
    50: '#7f83da',
    500: '#3154c8',
    950: '#000000',
  },
}
SCSS
$custom: #3154c8;
$custom-light: #7f83da;
$custom-dark: #000000;
JSON
{
  "hex": "#3154c8",
  "rgb": {
    "r": 49,
    "g": 84,
    "b": 200
  },
  "hsl": {
    "h": 226.093,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.49219,
    "c": 0.18493,
    "h": 266.6
  },
  "luminance": 0.11164
}

Semantic roles & 50–950 ramp

primary
#3154C8
secondary
#CEBE86
accent
#BF44E4
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3154C8

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

Preview Lab → · Contrast checker → · Palette generator →

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