#3145A9#3145A9

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

Color values

HEX#3145A9
RGBrgb(49, 69, 169)
HSLhsl(230, 55%, 43%)
HSVhsv(230, 71%, 66%)
CMYKcmyk(71%, 59.2%, 0%, 33.7%)
CIE-LABlab(33.50, 26.94, -56.04)
CIE-LCHlch(33.50, 62.18, 295.67°)
OKLaboklab(43.71% -0.0006 -0.1616)
OKLCHoklch(43.71% 0.162 269.8)
XYZxyz(10.5537, 7.7727, 38.4725)
Luminance0.0777 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3145A9 #A99531
analogous
#3181A9 #3145A9 #5931A9
triadic
#3145A9 #A93145 #45A931
tetradic
#3145A9 #A93181 #A99531 #31A959
square
#3145A9 #A93181 #A99531 #31A959
split-complementary
#3145A9 #A95931 #81A931
monochromatic
#151E4A #23327A #3145A9 #4C61CB #7C8BD9

Accessibility & contrast

On white

8.22
#3145A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#3145A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3145A9
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3145A9#FFFFFF#000000##FFFFFF
##3145A91.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AC
Deuteranopia (green-blind)
#0049A7
Tritanopia (blue-blind)
#005E70
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3145a9;
/* rgb */ color: rgb(49, 69, 169);
/* oklch */ color: oklch(43.7% 0.162 269.8);
Tailwind
colors: {
  custom: {
    50: '#7978c3',
    500: '#3145a9',
    950: '#000000',
  },
}
SCSS
$custom: #3145a9;
$custom-light: #7978c3;
$custom-dark: #000000;
JSON
{
  "hex": "#3145a9",
  "rgb": {
    "r": 49,
    "g": 69,
    "b": 169
  },
  "hsl": {
    "h": 230,
    "s": 55.046,
    "l": 42.745
  },
  "oklch": {
    "l": 0.43714,
    "c": 0.16158,
    "h": 269.8
  },
  "luminance": 0.07774
}

Semantic roles & 50–950 ramp

primary
#3145A9
secondary
#C1B574
accent
#C649DE
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #3145A9

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

Preview Lab → · Contrast checker → · Palette generator →

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