#314595#314595

#314595 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.1% C 0.133 H 269.4°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#314595
RGBrgb(49, 69, 149)
HSLhsl(228, 51%, 39%)
HSVhsv(228, 67%, 58%)
CMYKcmyk(67.1%, 53.7%, 0%, 41.6%)
CIE-LABlab(31.98, 19.52, -46.43)
CIE-LCHlch(31.98, 50.37, 292.80°)
OKLaboklab(42.09% -0.0015 -0.1333)
OKLCHoklch(42.09% 0.133 269.4)
XYZxyz(8.8177, 7.0783, 29.3295)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314595 #958131
analogous
#317795 #314595 #4F3195
triadic
#314595 #953145 #459531
tetradic
#314595 #953177 #958131 #31954F
square
#314595 #953177 #958131 #31954F
split-complementary
#314595 #954F31 #779531
monochromatic
#131A39 #223067 #314595 #425CC1 #7083D0

Accessibility & contrast

On white

8.69
#314595 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#314595 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314595
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314595#FFFFFF#000000##FFFFFF
##3145951.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#115098
Deuteranopia (green-blind)
#004793
Tritanopia (blue-blind)
#005866
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #314595;
/* rgb */ color: rgb(49, 69, 149);
/* oklch */ color: oklch(42.1% 0.133 269.4);
Tailwind
colors: {
  custom: {
    50: '#7578b5',
    500: '#314595',
    950: '#000000',
  },
}
SCSS
$custom: #314595;
$custom-light: #7578b5;
$custom-dark: #000000;
JSON
{
  "hex": "#314595",
  "rgb": {
    "r": 49,
    "g": 69,
    "b": 149
  },
  "hsl": {
    "h": 228,
    "s": 50.505,
    "l": 38.824
  },
  "oklch": {
    "l": 0.42094,
    "c": 0.13334,
    "h": 269.4
  },
  "luminance": 0.07079
}

Semantic roles & 50–950 ramp

primary
#314595
secondary
#B8A86A
accent
#BE4EDA
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #314595

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

Preview Lab → · Contrast checker → · Palette generator →

#314595 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva