#314196#314196

#314196 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.3% C 0.140 H 271.0°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#314196
RGBrgb(49, 65, 150)
HSLhsl(230, 51%, 39%)
HSVhsv(230, 67%, 59%)
CMYKcmyk(67.3%, 56.7%, 0%, 41.2%)
CIE-LABlab(30.96, 22.57, -48.70)
CIE-LCHlch(30.96, 53.68, 294.87°)
OKLaboklab(41.35% 0.0023 -0.14)
OKLCHoklch(41.35% 0.14 271)
XYZxyz(8.6601, 6.6348, 29.6725)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314196 #968631
analogous
#317496 #314196 #543196
triadic
#314196 #963141 #419631
tetradic
#314196 #963174 #968631 #319654
square
#314196 #963174 #968631 #319654
split-complementary
#314196 #965431 #749631
monochromatic
#13193A #222D68 #314196 #4357C1 #7180D1

Accessibility & contrast

On white

9.02
#314196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#314196 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314196
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314196#FFFFFF#000000##FFFFFF
##3141961.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E99
Deuteranopia (green-blind)
#004494
Tritanopia (blue-blind)
#005565
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #314196;
/* rgb */ color: rgb(49, 65, 150);
/* oklch */ color: oklch(41.3% 0.140 271.0);
Tailwind
colors: {
  custom: {
    50: '#7575b5',
    500: '#314196',
    950: '#000000',
  },
}
SCSS
$custom: #314196;
$custom-light: #7575b5;
$custom-dark: #000000;
JSON
{
  "hex": "#314196",
  "rgb": {
    "r": 49,
    "g": 65,
    "b": 150
  },
  "hsl": {
    "h": 230.495,
    "s": 50.754,
    "l": 39.02
  },
  "oklch": {
    "l": 0.41348,
    "c": 0.14007,
    "h": 271
  },
  "luminance": 0.06636
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #314196

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

Preview Lab → · Contrast checker → · Palette generator →

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