#3145AA#3145AA

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

Color values

HEX#3145AA
RGBrgb(49, 69, 170)
HSLhsl(230, 55%, 43%)
HSVhsv(230, 71%, 67%)
CMYKcmyk(71.2%, 59.4%, 0%, 33.3%)
CIE-LABlab(33.58, 27.31, -56.51)
CIE-LCHlch(33.58, 62.76, 295.79°)
OKLaboklab(43.8% -0.0005 -0.163)
OKLCHoklch(43.8% 0.163 269.8)
XYZxyz(10.6480, 7.8104, 38.9688)
Luminance0.0781 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3145AA #AA9631
analogous
#3181AA #3145AA #5A31AA
triadic
#3145AA #AA3145 #45AA31
tetradic
#3145AA #AA3181 #AA9631 #31AA5A
square
#3145AA #AA3181 #AA9631 #31AA5A
split-complementary
#3145AA #AA5A31 #81AA31
monochromatic
#161E4B #23327A #3145AA #4D62CC #7C8CD9

Accessibility & contrast

On white

8.20
#3145AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#3145AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3145AA#FFFFFF#000000##FFFFFF
##3145AA1.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AD
Deuteranopia (green-blind)
#004AA8
Tritanopia (blue-blind)
#005E70
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3145aa;
/* rgb */ color: rgb(49, 69, 170);
/* oklch */ color: oklch(43.8% 0.163 269.8);
Tailwind
colors: {
  custom: {
    50: '#7978c4',
    500: '#3145aa',
    950: '#000000',
  },
}
SCSS
$custom: #3145aa;
$custom-light: #7978c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3145aa",
  "rgb": {
    "r": 49,
    "g": 69,
    "b": 170
  },
  "hsl": {
    "h": 230.083,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.43799,
    "c": 0.16295,
    "h": 269.8
  },
  "luminance": 0.07811
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3145AA

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

Preview Lab → · Contrast checker → · Palette generator →

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