#3145A4#3145A4

#3145A4 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.3% C 0.155 H 269.8°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#3145A4
RGBrgb(49, 69, 164)
HSLhsl(230, 54%, 42%)
HSVhsv(230, 70%, 64%)
CMYKcmyk(70.1%, 57.9%, 0%, 35.7%)
CIE-LABlab(33.11, 25.09, -53.68)
CIE-LCHlch(33.11, 59.26, 295.05°)
OKLaboklab(43.3% -0.0007 -0.1546)
OKLCHoklch(43.3% 0.155 269.8)
XYZxyz(10.0933, 7.5886, 36.0476)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3145A4 #A49031
analogous
#317FA4 #3145A4 #5731A4
triadic
#3145A4 #A43145 #45A431
tetradic
#3145A4 #A4317F #A49031 #31A457
square
#3145A4 #A4317F #A49031 #31A457
split-complementary
#3145A4 #A45731 #7FA431
monochromatic
#151D46 #233175 #3145A4 #4960C9 #7989D7

Accessibility & contrast

On white

8.34
#3145A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#3145A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3145A4
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3145A4#FFFFFF#000000##FFFFFF
##3145A41.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A7
Deuteranopia (green-blind)
#0049A2
Tritanopia (blue-blind)
#005C6D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3145a4;
/* rgb */ color: rgb(49, 69, 164);
/* oklch */ color: oklch(43.3% 0.155 269.8);
Tailwind
colors: {
  custom: {
    50: '#7878c0',
    500: '#3145a4',
    950: '#000000',
  },
}
SCSS
$custom: #3145a4;
$custom-light: #7878c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3145a4",
  "rgb": {
    "r": 49,
    "g": 69,
    "b": 164
  },
  "hsl": {
    "h": 229.565,
    "s": 53.991,
    "l": 41.765
  },
  "oklch": {
    "l": 0.43297,
    "c": 0.15465,
    "h": 269.8
  },
  "luminance": 0.0759
}

Semantic roles & 50–950 ramp

primary
#3145A4
secondary
#BFB272
accent
#C44ADD
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #3145A4

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

Preview Lab → · Contrast checker → · Palette generator →

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