#3145AB#3145AB

#3145AB is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.9% C 0.164 H 269.8°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#3145AB
RGBrgb(49, 69, 171)
HSLhsl(230, 55%, 43%)
HSVhsv(230, 71%, 67%)
CMYKcmyk(71.3%, 59.6%, 0%, 32.9%)
CIE-LABlab(33.67, 27.67, -56.97)
CIE-LCHlch(33.67, 63.34, 295.91°)
OKLaboklab(43.88% -0.0005 -0.1643)
OKLCHoklch(43.88% 0.164 269.8)
XYZxyz(10.7429, 7.8484, 39.4689)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3145AB #AB9731
analogous
#3182AB #3145AB #5A31AB
triadic
#3145AB #AB3145 #45AB31
tetradic
#3145AB #AB3182 #AB9731 #31AB5A
square
#3145AB #AB3182 #AB9731 #31AB5A
split-complementary
#3145AB #AB5A31 #82AB31
monochromatic
#161F4C #23327B #3145AB #4D62CC #7D8CDA

Accessibility & contrast

On white

8.17
#3145AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#3145AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3145AB
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3145AB#FFFFFF#000000##FFFFFF
##3145AB1.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AE
Deuteranopia (green-blind)
#004AA9
Tritanopia (blue-blind)
#005E71
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3145ab;
/* rgb */ color: rgb(49, 69, 171);
/* oklch */ color: oklch(43.9% 0.164 269.8);
Tailwind
colors: {
  custom: {
    50: '#7a78c5',
    500: '#3145ab',
    950: '#000000',
  },
}
SCSS
$custom: #3145ab;
$custom-light: #7a78c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3145ab",
  "rgb": {
    "r": 49,
    "g": 69,
    "b": 171
  },
  "hsl": {
    "h": 230.164,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.43884,
    "c": 0.16432,
    "h": 269.8
  },
  "luminance": 0.07849
}

Semantic roles & 50–950 ramp

primary
#3145AB
secondary
#C2B675
accent
#C649DF
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #3145AB

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

Preview Lab → · Contrast checker → · Palette generator →

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