#3154AE#3154AE

#3154AE is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.2% C 0.150 H 265.1°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#3154AE
RGBrgb(49, 84, 174)
HSLhsl(223, 56%, 44%)
HSVhsv(223, 72%, 68%)
CMYKcmyk(71.8%, 51.7%, 0%, 31.8%)
CIE-LABlab(37.93, 18.90, -51.84)
CIE-LCHlch(37.93, 55.18, 290.03°)
OKLaboklab(47.16% -0.0127 -0.149)
OKLCHoklch(47.16% 0.15 265.1)
XYZxyz(12.0742, 10.0483, 41.3394)
Luminance0.1005 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3154AE #AE8B31
analogous
#3192AE #3154AE #4C31AE
triadic
#3154AE #AE3154 #54AE31
tetradic
#3154AE #AE3192 #AE8B31 #31AE4C
square
#3154AE #AE3192 #AE8B31 #31AE4C
split-complementary
#3154AE #AE4C31 #92AE31
monochromatic
#16264E #243D7E #3154AE #4F72CD #7F98DB

Accessibility & contrast

On white

6.98
#3154AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#3154AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3154AE
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3154AE#FFFFFF#000000##FFFFFF
##3154AE1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5FB1
Deuteranopia (green-blind)
#0054AC
Tritanopia (blue-blind)
#006979
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3154ae;
/* rgb */ color: rgb(49, 84, 174);
/* oklch */ color: oklch(47.2% 0.150 265.1);
Tailwind
colors: {
  custom: {
    50: '#7983c7',
    500: '#3154ae',
    950: '#000000',
  },
}
SCSS
$custom: #3154ae;
$custom-light: #7983c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3154ae",
  "rgb": {
    "r": 49,
    "g": 84,
    "b": 174
  },
  "hsl": {
    "h": 223.2,
    "s": 56.054,
    "l": 43.725
  },
  "oklch": {
    "l": 0.47162,
    "c": 0.14954,
    "h": 265.1
  },
  "luminance": 0.1005
}

Semantic roles & 50–950 ramp

primary
#3154AE
secondary
#C4AE77
accent
#B548DF
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #3154AE

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

Preview Lab → · Contrast checker → · Palette generator →

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