#3145B3#3145B3

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

Color values

HEX#3145B3
RGBrgb(49, 69, 179)
HSLhsl(231, 57%, 45%)
HSVhsv(231, 73%, 70%)
CMYKcmyk(72.6%, 61.5%, 0%, 29.8%)
CIE-LABlab(34.32, 30.61, -60.66)
CIE-LCHlch(34.32, 67.95, 296.77°)
OKLaboklab(44.57% -0.0006 -0.1752)
OKLCHoklch(44.57% 0.175 269.8)
XYZxyz(11.5286, 8.1627, 43.6071)
Luminance0.0816 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3145B3 #B39F31
analogous
#3186B3 #3145B3 #5E31B3
triadic
#3145B3 #B33145 #45B331
tetradic
#3145B3 #B33186 #B39F31 #31B35E
square
#3145B3 #B33186 #B39F31 #31B35E
split-complementary
#3145B3 #B35E31 #86B331
monochromatic
#172053 #243283 #3145B3 #5265D0 #8290DD

Accessibility & contrast

On white

7.98
#3145B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#3145B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3145B3
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3145B3#FFFFFF#000000##FFFFFF
##3145B31.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B7
Deuteranopia (green-blind)
#004BB1
Tritanopia (blue-blind)
#006175
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3145b3;
/* rgb */ color: rgb(49, 69, 179);
/* oklch */ color: oklch(44.6% 0.175 269.8);
Tailwind
colors: {
  custom: {
    50: '#7b78cb',
    500: '#3145b3',
    950: '#000000',
  },
}
SCSS
$custom: #3145b3;
$custom-light: #7b78cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3145b3",
  "rgb": {
    "r": 49,
    "g": 69,
    "b": 179
  },
  "hsl": {
    "h": 230.769,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.44573,
    "c": 0.17516,
    "h": 269.8
  },
  "luminance": 0.08164
}

Semantic roles & 50–950 ramp

primary
#3145B3
secondary
#C6BA7A
accent
#C948E0
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3145B3

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

Preview Lab → · Contrast checker → · Palette generator →

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