#3145A8#3145A8

#3145A8 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.6% C 0.160 H 269.8°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#3145A8
RGBrgb(49, 69, 168)
HSLhsl(230, 55%, 43%)
HSVhsv(230, 71%, 66%)
CMYKcmyk(70.8%, 58.9%, 0%, 34.1%)
CIE-LABlab(33.43, 26.57, -55.57)
CIE-LCHlch(33.43, 61.60, 295.55°)
OKLaboklab(43.63% -0.0006 -0.1602)
OKLCHoklch(43.63% 0.16 269.8)
XYZxyz(10.4602, 7.7353, 37.9800)
Luminance0.0774 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3145A8 #A89431
analogous
#3180A8 #3145A8 #5831A8
triadic
#3145A8 #A83145 #45A831
tetradic
#3145A8 #A83180 #A89431 #31A858
square
#3145A8 #A83180 #A89431 #31A858
split-complementary
#3145A8 #A85831 #80A831
monochromatic
#151E49 #233279 #3145A8 #4C61CB #7B8BD8

Accessibility & contrast

On white

8.24
#3145A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3145A8
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3145A8#FFFFFF#000000##FFFFFF
##3145A81.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AB
Deuteranopia (green-blind)
#0049A6
Tritanopia (blue-blind)
#005E6F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3145a8;
/* rgb */ color: rgb(49, 69, 168);
/* oklch */ color: oklch(43.6% 0.160 269.8);
Tailwind
colors: {
  custom: {
    50: '#7978c3',
    500: '#3145a8',
    950: '#000000',
  },
}
SCSS
$custom: #3145a8;
$custom-light: #7978c3;
$custom-dark: #000000;
JSON
{
  "hex": "#3145a8",
  "rgb": {
    "r": 49,
    "g": 69,
    "b": 168
  },
  "hsl": {
    "h": 229.916,
    "s": 54.839,
    "l": 42.549
  },
  "oklch": {
    "l": 0.4363,
    "c": 0.1602,
    "h": 269.8
  },
  "luminance": 0.07736
}

Semantic roles & 50–950 ramp

primary
#3145A8
secondary
#C1B474
accent
#C54ADE
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #3145A8

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

Preview Lab → · Contrast checker → · Palette generator →

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