#3145B2#3145B2

#3145B2 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.5% C 0.174 H 269.8°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#3145B2
RGBrgb(49, 69, 178)
HSLhsl(231, 57%, 45%)
HSVhsv(231, 72%, 70%)
CMYKcmyk(72.5%, 61.2%, 0%, 30.2%)
CIE-LABlab(34.24, 30.24, -60.21)
CIE-LCHlch(34.24, 67.38, 296.67°)
OKLaboklab(44.49% -0.0006 -0.1738)
OKLCHoklch(44.49% 0.174 269.8)
XYZxyz(11.4279, 8.1224, 43.0764)
Luminance0.0812 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3145B2 #B29E31
analogous
#3185B2 #3145B2 #5E31B2
triadic
#3145B2 #B23145 #45B231
tetradic
#3145B2 #B23185 #B29E31 #31B25E
square
#3145B2 #B23185 #B29E31 #31B25E
split-complementary
#3145B2 #B25E31 #85B231
monochromatic
#172052 #243282 #3145B2 #5165CF #818FDC

Accessibility & contrast

On white

8.00
#3145B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#3145B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3145B2
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3145B2#FFFFFF#000000##FFFFFF
##3145B21.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B6
Deuteranopia (green-blind)
#004BB0
Tritanopia (blue-blind)
#006175
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3145b2;
/* rgb */ color: rgb(49, 69, 178);
/* oklch */ color: oklch(44.5% 0.174 269.8);
Tailwind
colors: {
  custom: {
    50: '#7b78ca',
    500: '#3145b2',
    950: '#000000',
  },
}
SCSS
$custom: #3145b2;
$custom-light: #7b78ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3145b2",
  "rgb": {
    "r": 49,
    "g": 69,
    "b": 178
  },
  "hsl": {
    "h": 230.698,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.44486,
    "c": 0.17382,
    "h": 269.8
  },
  "luminance": 0.08124
}

Semantic roles & 50–950 ramp

primary
#3145B2
secondary
#C5BA79
accent
#C848E0
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3145B2

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

Preview Lab → · Contrast checker → · Palette generator →

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