#3145AF#3145AF

#3145AF is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.2% C 0.170 H 269.8°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#3145AF
RGBrgb(49, 69, 175)
HSLhsl(230, 56%, 44%)
HSVhsv(230, 72%, 69%)
CMYKcmyk(72%, 60.6%, 0%, 31.4%)
CIE-LABlab(33.99, 29.15, -58.83)
CIE-LCHlch(33.99, 65.65, 296.36°)
OKLaboklab(44.23% -0.0005 -0.1698)
OKLCHoklch(44.23% 0.17 269.8)
XYZxyz(11.1300, 8.0032, 41.5073)
Luminance0.0800 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3145AF #AF9B31
analogous
#3184AF #3145AF #5C31AF
triadic
#3145AF #AF3145 #45AF31
tetradic
#3145AF #AF3184 #AF9B31 #31AF5C
square
#3145AF #AF3184 #AF9B31 #31AF5C
split-complementary
#3145AF #AF5C31 #84AF31
monochromatic
#161F4F #24327F #3145AF #4F63CE #7F8EDB

Accessibility & contrast

On white

8.07
#3145AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#3145AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3145AF#FFFFFF#000000##FFFFFF
##3145AF1.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B3
Deuteranopia (green-blind)
#004AAD
Tritanopia (blue-blind)
#006073
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3145af;
/* rgb */ color: rgb(49, 69, 175);
/* oklch */ color: oklch(44.2% 0.170 269.8);
Tailwind
colors: {
  custom: {
    50: '#7a78c8',
    500: '#3145af',
    950: '#000000',
  },
}
SCSS
$custom: #3145af;
$custom-light: #7a78c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3145af",
  "rgb": {
    "r": 49,
    "g": 69,
    "b": 175
  },
  "hsl": {
    "h": 230.476,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.44226,
    "c": 0.16977,
    "h": 269.8
  },
  "luminance": 0.08004
}

Semantic roles & 50–950 ramp

primary
#3145AF
secondary
#C4B878
accent
#C848E0
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3145AF

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

Preview Lab → · Contrast checker → · Palette generator →

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