#3145B9#3145B9

#3145B9 is a mid, vivid blue. Relative luminance 0.084; OKLCH L 45.1% C 0.183 H 269.8°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#3145B9
RGBrgb(49, 69, 185)
HSLhsl(231, 58%, 46%)
HSVhsv(231, 74%, 73%)
CMYKcmyk(73.5%, 62.7%, 0%, 27.5%)
CIE-LABlab(34.82, 32.80, -63.39)
CIE-LCHlch(34.82, 71.37, 297.36°)
OKLaboklab(45.1% -0.0007 -0.1831)
OKLCHoklch(45.1% 0.183 269.8)
XYZxyz(12.1487, 8.4107, 46.8727)
Luminance0.0841 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3145B9 #B9A531
analogous
#3189B9 #3145B9 #6131B9
triadic
#3145B9 #B93145 #45B931
tetradic
#3145B9 #B93189 #B9A531 #31B961
square
#3145B9 #B93189 #B9A531 #31B961
split-complementary
#3145B9 #B96131 #89B931
monochromatic
#172158 #243389 #3145B9 #5568D2 #8693DF

Accessibility & contrast

On white

7.83
#3145B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#3145B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3145B9
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3145B9#FFFFFF#000000##FFFFFF
##3145B91.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BD
Deuteranopia (green-blind)
#004CB7
Tritanopia (blue-blind)
#006378
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3145b9;
/* rgb */ color: rgb(49, 69, 185);
/* oklch */ color: oklch(45.1% 0.183 269.8);
Tailwind
colors: {
  custom: {
    50: '#7d78cf',
    500: '#3145b9',
    950: '#000000',
  },
}
SCSS
$custom: #3145b9;
$custom-light: #7d78cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3145b9",
  "rgb": {
    "r": 49,
    "g": 69,
    "b": 185
  },
  "hsl": {
    "h": 231.176,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.45103,
    "c": 0.18314,
    "h": 269.8
  },
  "luminance": 0.08412
}

Semantic roles & 50–950 ramp

primary
#3145B9
secondary
#C8BD7D
accent
#CB46E1
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #3145B9

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

Preview Lab → · Contrast checker → · Palette generator →

#3145B9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva