#3145A1#3145A1

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

Color values

HEX#3145A1
RGBrgb(49, 69, 161)
HSLhsl(229, 53%, 41%)
HSVhsv(229, 70%, 63%)
CMYKcmyk(69.6%, 57.1%, 0%, 36.9%)
CIE-LABlab(32.88, 23.98, -52.26)
CIE-LCHlch(32.88, 57.49, 294.65°)
OKLaboklab(43.05% -0.0008 -0.1505)
OKLCHoklch(43.05% 0.15 269.7)
XYZxyz(9.8256, 7.4815, 34.6376)
Luminance0.0748 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3145A1 #A18D31
analogous
#317DA1 #3145A1 #5531A1
triadic
#3145A1 #A13145 #45A131
tetradic
#3145A1 #A1317D #A18D31 #31A155
square
#3145A1 #A1317D #A18D31 #31A155
split-complementary
#3145A1 #A15531 #7DA131
monochromatic
#141D43 #233172 #3145A1 #485FC7 #7788D6

Accessibility & contrast

On white

8.41
#3145A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3145A1
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3145A1#FFFFFF#000000##FFFFFF
##3145A11.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A4
Deuteranopia (green-blind)
#00489F
Tritanopia (blue-blind)
#005B6C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3145a1;
/* rgb */ color: rgb(49, 69, 161);
/* oklch */ color: oklch(43.0% 0.150 269.7);
Tailwind
colors: {
  custom: {
    50: '#7778be',
    500: '#3145a1',
    950: '#000000',
  },
}
SCSS
$custom: #3145a1;
$custom-light: #7778be;
$custom-dark: #000000;
JSON
{
  "hex": "#3145a1",
  "rgb": {
    "r": 49,
    "g": 69,
    "b": 161
  },
  "hsl": {
    "h": 229.286,
    "s": 53.333,
    "l": 41.176
  },
  "oklch": {
    "l": 0.4305,
    "c": 0.15046,
    "h": 269.7
  },
  "luminance": 0.07482
}

Semantic roles & 50–950 ramp

primary
#3145A1
secondary
#BEB070
accent
#C34BDD
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #3145A1

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

Preview Lab → · Contrast checker → · Palette generator →

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