#3145B4#3145B4

#3145B4 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.7% C 0.176 H 269.8°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#3145B4
RGBrgb(49, 69, 180)
HSLhsl(231, 57%, 45%)
HSVhsv(231, 73%, 71%)
CMYKcmyk(72.8%, 61.7%, 0%, 29.4%)
CIE-LABlab(34.40, 30.98, -61.12)
CIE-LCHlch(34.40, 68.52, 296.88°)
OKLaboklab(44.66% -0.0006 -0.1765)
OKLCHoklch(44.66% 0.177 269.8)
XYZxyz(11.6301, 8.2033, 44.1416)
Luminance0.0820 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3145B4 #B4A031
analogous
#3186B4 #3145B4 #5F31B4
triadic
#3145B4 #B43145 #45B431
tetradic
#3145B4 #B43186 #B4A031 #31B45F
square
#3145B4 #B43186 #B4A031 #31B45F
split-complementary
#3145B4 #B45F31 #86B431
monochromatic
#172054 #243384 #3145B4 #5265D0 #8290DD

Accessibility & contrast

On white

7.95
#3145B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#3145B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3145B4
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3145B4#FFFFFF#000000##FFFFFF
##3145B41.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B8
Deuteranopia (green-blind)
#004BB2
Tritanopia (blue-blind)
#006176
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3145b4;
/* rgb */ color: rgb(49, 69, 180);
/* oklch */ color: oklch(44.7% 0.176 269.8);
Tailwind
colors: {
  custom: {
    50: '#7c78cb',
    500: '#3145b4',
    950: '#000000',
  },
}
SCSS
$custom: #3145b4;
$custom-light: #7c78cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3145b4",
  "rgb": {
    "r": 49,
    "g": 69,
    "b": 180
  },
  "hsl": {
    "h": 230.84,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.44661,
    "c": 0.1765,
    "h": 269.8
  },
  "luminance": 0.08204
}

Semantic roles & 50–950 ramp

primary
#3145B4
secondary
#C6BB7B
accent
#C947E0
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3145B4

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

Preview Lab → · Contrast checker → · Palette generator →

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