#314095#314095

#314095 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.1% C 0.140 H 271.3°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#314095
RGBrgb(49, 64, 149)
HSLhsl(231, 51%, 39%)
HSVhsv(231, 67%, 58%)
CMYKcmyk(67.1%, 57%, 0%, 41.6%)
CIE-LABlab(30.61, 22.88, -48.65)
CIE-LCHlch(30.61, 53.76, 295.18°)
OKLaboklab(41.06% 0.0032 -0.1399)
OKLCHoklch(41.06% 0.14 271.3)
XYZxyz(8.5230, 6.4889, 29.2313)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314095 #958631
analogous
#317295 #314095 #543195
triadic
#314095 #953140 #409531
tetradic
#314095 #953172 #958631 #319554
square
#314095 #953172 #958631 #319554
split-complementary
#314095 #955431 #729531
monochromatic
#131839 #222C67 #314095 #4255C1 #707FD0

Accessibility & contrast

On white

9.14
#314095 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#314095 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314095
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314095#FFFFFF#000000##FFFFFF
##3140951.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D98
Deuteranopia (green-blind)
#004493
Tritanopia (blue-blind)
#005464
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #314095;
/* rgb */ color: rgb(49, 64, 149);
/* oklch */ color: oklch(41.1% 0.140 271.3);
Tailwind
colors: {
  custom: {
    50: '#7574b5',
    500: '#314095',
    950: '#000000',
  },
}
SCSS
$custom: #314095;
$custom-light: #7574b5;
$custom-dark: #000000;
JSON
{
  "hex": "#314095",
  "rgb": {
    "r": 49,
    "g": 64,
    "b": 149
  },
  "hsl": {
    "h": 231,
    "s": 50.505,
    "l": 38.824
  },
  "oklch": {
    "l": 0.41064,
    "c": 0.13996,
    "h": 271.3
  },
  "luminance": 0.0649
}

Semantic roles & 50–950 ramp

primary
#314095
secondary
#B8AC6A
accent
#C54EDA
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #314095

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

Preview Lab → · Contrast checker → · Palette generator →

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