#3145B1#3145B1

#3145B1 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.4% C 0.172 H 269.8°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#3145B1
RGBrgb(49, 69, 177)
HSLhsl(231, 57%, 44%)
HSVhsv(231, 72%, 69%)
CMYKcmyk(72.3%, 61%, 0%, 30.6%)
CIE-LABlab(34.15, 29.88, -59.75)
CIE-LCHlch(34.15, 66.80, 296.57°)
OKLaboklab(44.4% -0.0005 -0.1725)
OKLCHoklch(44.4% 0.172 269.8)
XYZxyz(11.3278, 8.0824, 42.5495)
Luminance0.0808 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3145B1 #B19D31
analogous
#3185B1 #3145B1 #5D31B1
triadic
#3145B1 #B13145 #45B131
tetradic
#3145B1 #B13185 #B19D31 #31B15D
square
#3145B1 #B13185 #B19D31 #31B15D
split-complementary
#3145B1 #B15D31 #85B131
monochromatic
#162051 #243281 #3145B1 #5164CF #808FDC

Accessibility & contrast

On white

8.03
#3145B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#3145B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3145B1
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3145B1#FFFFFF#000000##FFFFFF
##3145B11.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B5
Deuteranopia (green-blind)
#004BAF
Tritanopia (blue-blind)
#006074
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3145b1;
/* rgb */ color: rgb(49, 69, 177);
/* oklch */ color: oklch(44.4% 0.172 269.8);
Tailwind
colors: {
  custom: {
    50: '#7b78c9',
    500: '#3145b1',
    950: '#000000',
  },
}
SCSS
$custom: #3145b1;
$custom-light: #7b78c9;
$custom-dark: #000000;
JSON
{
  "hex": "#3145b1",
  "rgb": {
    "r": 49,
    "g": 69,
    "b": 177
  },
  "hsl": {
    "h": 230.625,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.44399,
    "c": 0.17247,
    "h": 269.8
  },
  "luminance": 0.08084
}

Semantic roles & 50–950 ramp

primary
#3145B1
secondary
#C5B979
accent
#C848E0
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3145B1

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

Preview Lab → · Contrast checker → · Palette generator →

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