#3145A5#3145A5

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

Color values

HEX#3145A5
RGBrgb(49, 69, 165)
HSLhsl(230, 54%, 42%)
HSVhsv(230, 70%, 65%)
CMYKcmyk(70.3%, 58.2%, 0%, 35.3%)
CIE-LABlab(33.19, 25.46, -54.16)
CIE-LCHlch(33.19, 59.84, 295.18°)
OKLaboklab(43.38% -0.0006 -0.156)
OKLCHoklch(43.38% 0.156 269.8)
XYZxyz(10.1840, 7.6248, 36.5251)
Luminance0.0763 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3145A5 #A59131
analogous
#317FA5 #3145A5 #5731A5
triadic
#3145A5 #A53145 #45A531
tetradic
#3145A5 #A5317F #A59131 #31A557
square
#3145A5 #A5317F #A59131 #31A557
split-complementary
#3145A5 #A55731 #7FA531
monochromatic
#151E47 #233176 #3145A5 #4A60C9 #7989D7

Accessibility & contrast

On white

8.32
#3145A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#3145A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3145A5
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3145A5#FFFFFF#000000##FFFFFF
##3145A51.008.322.538.32
#FFFFFF8.321.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A8
Deuteranopia (green-blind)
#0049A3
Tritanopia (blue-blind)
#005D6E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3145a5;
/* rgb */ color: rgb(49, 69, 165);
/* oklch */ color: oklch(43.4% 0.156 269.8);
Tailwind
colors: {
  custom: {
    50: '#7878c0',
    500: '#3145a5',
    950: '#000000',
  },
}
SCSS
$custom: #3145a5;
$custom-light: #7878c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3145a5",
  "rgb": {
    "r": 49,
    "g": 69,
    "b": 165
  },
  "hsl": {
    "h": 229.655,
    "s": 54.206,
    "l": 41.961
  },
  "oklch": {
    "l": 0.4338,
    "c": 0.15605,
    "h": 269.8
  },
  "luminance": 0.07626
}

Semantic roles & 50–950 ramp

primary
#3145A5
secondary
#C0B272
accent
#C44ADE
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #3145A5

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

Preview Lab → · Contrast checker → · Palette generator →

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