#3154AD#3154AD

#3154AD is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.1% C 0.148 H 265.0°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#3154AD
RGBrgb(49, 84, 173)
HSLhsl(223, 56%, 44%)
HSVhsv(223, 72%, 68%)
CMYKcmyk(71.7%, 51.4%, 0%, 32.2%)
CIE-LABlab(37.86, 18.52, -51.36)
CIE-LCHlch(37.86, 54.60, 289.83°)
OKLaboklab(47.09% -0.0128 -0.1476)
OKLCHoklch(47.09% 0.148 265)
XYZxyz(11.9771, 10.0095, 40.8279)
Luminance0.1001 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3154AD #AD8A31
analogous
#3192AD #3154AD #4C31AD
triadic
#3154AD #AD3154 #54AD31
tetradic
#3154AD #AD3192 #AD8A31 #31AD4C
square
#3154AD #AD3192 #AD8A31 #31AD4C
split-complementary
#3154AD #AD4C31 #92AD31
monochromatic
#16264E #233D7D #3154AD #4E72CD #7E98DA

Accessibility & contrast

On white

6.99
#3154AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#3154AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3154AD
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3154AD#FFFFFF#000000##FFFFFF
##3154AD1.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D5FB0
Deuteranopia (green-blind)
#0054AB
Tritanopia (blue-blind)
#006978
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3154ad;
/* rgb */ color: rgb(49, 84, 173);
/* oklch */ color: oklch(47.1% 0.148 265.0);
Tailwind
colors: {
  custom: {
    50: '#7983c6',
    500: '#3154ad',
    950: '#000000',
  },
}
SCSS
$custom: #3154ad;
$custom-light: #7983c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3154ad",
  "rgb": {
    "r": 49,
    "g": 84,
    "b": 173
  },
  "hsl": {
    "h": 223.065,
    "s": 55.856,
    "l": 43.529
  },
  "oklch": {
    "l": 0.47087,
    "c": 0.14815,
    "h": 265
  },
  "luminance": 0.10011
}

Semantic roles & 50–950 ramp

primary
#3154AD
secondary
#C3AE77
accent
#B549DF
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #3154AD

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

Preview Lab → · Contrast checker → · Palette generator →

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