#3145BA#3145BA

#3145BA is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.2% C 0.184 H 269.8°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#3145BA
RGBrgb(49, 69, 186)
HSLhsl(231, 58%, 46%)
HSVhsv(231, 74%, 73%)
CMYKcmyk(73.7%, 62.9%, 0%, 27.1%)
CIE-LABlab(34.91, 33.16, -63.84)
CIE-LCHlch(34.91, 71.93, 297.45°)
OKLaboklab(45.19% -0.0007 -0.1845)
OKLCHoklch(45.19% 0.184 269.8)
XYZxyz(12.2546, 8.4531, 47.4306)
Luminance0.0845 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3145BA #BAA631
analogous
#3189BA #3145BA #6131BA
triadic
#3145BA #BA3145 #45BA31
tetradic
#3145BA #BA3189 #BAA631 #31BA61
square
#3145BA #BA3189 #BAA631 #31BA61
split-complementary
#3145BA #BA6131 #89BA31
monochromatic
#172159 #24338A #3145BA #5668D2 #8693DF

Accessibility & contrast

On white

7.80
#3145BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#3145BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3145BA
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3145BA#FFFFFF#000000##FFFFFF
##3145BA1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BE
Deuteranopia (green-blind)
#004CB8
Tritanopia (blue-blind)
#006379
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3145ba;
/* rgb */ color: rgb(49, 69, 186);
/* oklch */ color: oklch(45.2% 0.184 269.8);
Tailwind
colors: {
  custom: {
    50: '#7d78d0',
    500: '#3145ba',
    950: '#000000',
  },
}
SCSS
$custom: #3145ba;
$custom-light: #7d78d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3145ba",
  "rgb": {
    "r": 49,
    "g": 69,
    "b": 186
  },
  "hsl": {
    "h": 231.241,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.45192,
    "c": 0.18446,
    "h": 269.8
  },
  "luminance": 0.08454
}

Semantic roles & 50–950 ramp

primary
#3145BA
secondary
#C9BE7E
accent
#CB46E2
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #3145BA

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

Preview Lab → · Contrast checker → · Palette generator →

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