#3145AC#3145AC

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

Color values

HEX#3145AC
RGBrgb(49, 69, 172)
HSLhsl(230, 56%, 43%)
HSVhsv(230, 72%, 67%)
CMYKcmyk(71.5%, 59.9%, 0%, 32.5%)
CIE-LABlab(33.75, 28.04, -57.44)
CIE-LCHlch(33.75, 63.92, 296.02°)
OKLaboklab(43.97% -0.0005 -0.1657)
OKLCHoklch(43.97% 0.166 269.8)
XYZxyz(10.8386, 7.8867, 39.9728)
Luminance0.0789 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3145AC #AC9831
analogous
#3182AC #3145AC #5A31AC
triadic
#3145AC #AC3145 #45AC31
tetradic
#3145AC #AC3182 #AC9831 #31AC5A
square
#3145AC #AC3182 #AC9831 #31AC5A
split-complementary
#3145AC #AC5A31 #82AC31
monochromatic
#161F4D #23327C #3145AC #4E62CC #7D8CDA

Accessibility & contrast

On white

8.15
#3145AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#3145AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3145AC
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3145AC#FFFFFF#000000##FFFFFF
##3145AC1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AF
Deuteranopia (green-blind)
#004AAA
Tritanopia (blue-blind)
#005F71
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3145ac;
/* rgb */ color: rgb(49, 69, 172);
/* oklch */ color: oklch(44.0% 0.166 269.8);
Tailwind
colors: {
  custom: {
    50: '#7a78c6',
    500: '#3145ac',
    950: '#000000',
  },
}
SCSS
$custom: #3145ac;
$custom-light: #7a78c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3145ac",
  "rgb": {
    "r": 49,
    "g": 69,
    "b": 172
  },
  "hsl": {
    "h": 230.244,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.43969,
    "c": 0.16569,
    "h": 269.8
  },
  "luminance": 0.07888
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3145AC

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

Preview Lab → · Contrast checker → · Palette generator →

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