#3145B0#3145B0

#3145B0 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.3% C 0.171 H 269.8°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#3145B0
RGBrgb(49, 69, 176)
HSLhsl(231, 56%, 44%)
HSVhsv(231, 72%, 69%)
CMYKcmyk(72.2%, 60.8%, 0%, 31%)
CIE-LABlab(34.07, 29.51, -59.29)
CIE-LCHlch(34.07, 66.23, 296.46°)
OKLaboklab(44.31% -0.0005 -0.1711)
OKLCHoklch(44.31% 0.171 269.8)
XYZxyz(11.2285, 8.0427, 42.0265)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3145B0 #B09C31
analogous
#3185B0 #3145B0 #5D31B0
triadic
#3145B0 #B03145 #45B031
tetradic
#3145B0 #B03185 #B09C31 #31B05D
square
#3145B0 #B03185 #B09C31 #31B05D
split-complementary
#3145B0 #B05D31 #85B031
monochromatic
#161F50 #243280 #3145B0 #5064CE #808EDC

Accessibility & contrast

On white

8.05
#3145B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#3145B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3145B0
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3145B0#FFFFFF#000000##FFFFFF
##3145B01.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B4
Deuteranopia (green-blind)
#004AAE
Tritanopia (blue-blind)
#006074
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3145b0;
/* rgb */ color: rgb(49, 69, 176);
/* oklch */ color: oklch(44.3% 0.171 269.8);
Tailwind
colors: {
  custom: {
    50: '#7b78c8',
    500: '#3145b0',
    950: '#000000',
  },
}
SCSS
$custom: #3145b0;
$custom-light: #7b78c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3145b0",
  "rgb": {
    "r": 49,
    "g": 69,
    "b": 176
  },
  "hsl": {
    "h": 230.551,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.44313,
    "c": 0.17112,
    "h": 269.8
  },
  "luminance": 0.08044
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3145B0

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

Preview Lab → · Contrast checker → · Palette generator →

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