#3145AD#3145AD

#3145AD is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.1% C 0.167 H 269.8°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#3145AD
RGBrgb(49, 69, 173)
HSLhsl(230, 56%, 44%)
HSVhsv(230, 72%, 68%)
CMYKcmyk(71.7%, 60.1%, 0%, 32.2%)
CIE-LABlab(33.83, 28.41, -57.90)
CIE-LCHlch(33.83, 64.50, 296.14°)
OKLaboklab(44.05% -0.0005 -0.167)
OKLCHoklch(44.05% 0.167 269.8)
XYZxyz(10.9350, 7.9252, 40.4805)
Luminance0.0793 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3145AD #AD9931
analogous
#3183AD #3145AD #5B31AD
triadic
#3145AD #AD3145 #45AD31
tetradic
#3145AD #AD3183 #AD9931 #31AD5B
square
#3145AD #AD3183 #AD9931 #31AD5B
split-complementary
#3145AD #AD5B31 #83AD31
monochromatic
#161F4E #23327D #3145AD #4E63CD #7E8DDA

Accessibility & contrast

On white

8.12
#3145AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#3145AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3145AD
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3145AD#FFFFFF#000000##FFFFFF
##3145AD1.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B0
Deuteranopia (green-blind)
#004AAB
Tritanopia (blue-blind)
#005F72
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3145ad;
/* rgb */ color: rgb(49, 69, 173);
/* oklch */ color: oklch(44.1% 0.167 269.8);
Tailwind
colors: {
  custom: {
    50: '#7a78c6',
    500: '#3145ad',
    950: '#000000',
  },
}
SCSS
$custom: #3145ad;
$custom-light: #7a78c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3145ad",
  "rgb": {
    "r": 49,
    "g": 69,
    "b": 173
  },
  "hsl": {
    "h": 230.323,
    "s": 55.856,
    "l": 43.529
  },
  "oklch": {
    "l": 0.44054,
    "c": 0.16705,
    "h": 269.8
  },
  "luminance": 0.07926
}

Semantic roles & 50–950 ramp

primary
#3145AD
secondary
#C3B777
accent
#C749DF
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #3145AD

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

Preview Lab → · Contrast checker → · Palette generator →

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