#3145A2#3145A2

#3145A2 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.1% C 0.152 H 269.7°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#3145A2
RGBrgb(49, 69, 162)
HSLhsl(229, 54%, 41%)
HSVhsv(229, 70%, 64%)
CMYKcmyk(69.8%, 57.4%, 0%, 36.5%)
CIE-LABlab(32.96, 24.35, -52.73)
CIE-LCHlch(32.96, 58.08, 294.78°)
OKLaboklab(43.13% -0.0007 -0.1519)
OKLCHoklch(43.13% 0.152 269.7)
XYZxyz(9.9141, 7.5169, 35.1038)
Luminance0.0752 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3145A2 #A28E31
analogous
#317EA2 #3145A2 #5631A2
triadic
#3145A2 #A23145 #45A231
tetradic
#3145A2 #A2317E #A28E31 #31A256
square
#3145A2 #A2317E #A28E31 #31A256
split-complementary
#3145A2 #A25631 #7EA231
monochromatic
#151D44 #233173 #3145A2 #485FC8 #7788D6

Accessibility & contrast

On white

8.39
#3145A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#3145A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3145A2
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3145A2#FFFFFF#000000##FFFFFF
##3145A21.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A5
Deuteranopia (green-blind)
#0049A0
Tritanopia (blue-blind)
#005C6C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3145a2;
/* rgb */ color: rgb(49, 69, 162);
/* oklch */ color: oklch(43.1% 0.152 269.7);
Tailwind
colors: {
  custom: {
    50: '#7878be',
    500: '#3145a2',
    950: '#000000',
  },
}
SCSS
$custom: #3145a2;
$custom-light: #7878be;
$custom-dark: #000000;
JSON
{
  "hex": "#3145a2",
  "rgb": {
    "r": 49,
    "g": 69,
    "b": 162
  },
  "hsl": {
    "h": 229.381,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.43132,
    "c": 0.15186,
    "h": 269.7
  },
  "luminance": 0.07518
}

Semantic roles & 50–950 ramp

primary
#3145A2
secondary
#BEB071
accent
#C34BDD
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #3145A2

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

Preview Lab → · Contrast checker → · Palette generator →

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