#314195#314195

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

Color values

HEX#314195
RGBrgb(49, 65, 149)
HSLhsl(230, 51%, 39%)
HSVhsv(230, 67%, 58%)
CMYKcmyk(67.1%, 56.4%, 0%, 41.6%)
CIE-LABlab(30.88, 22.20, -48.21)
CIE-LCHlch(30.88, 53.08, 294.73°)
OKLaboklab(41.27% 0.0023 -0.1386)
OKLCHoklch(41.27% 0.139 270.9)
XYZxyz(8.5799, 6.6027, 29.2502)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314195 #958531
analogous
#317395 #314195 #533195
triadic
#314195 #953141 #419531
tetradic
#314195 #953173 #958531 #319553
square
#314195 #953173 #958531 #319553
split-complementary
#314195 #955331 #739531
monochromatic
#131939 #222D67 #314195 #4257C1 #7080D0

Accessibility & contrast

On white

9.05
#314195 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#314195 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314195
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314195#FFFFFF#000000##FFFFFF
##3141951.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #314195;
/* rgb */ color: rgb(49, 65, 149);
/* oklch */ color: oklch(41.3% 0.139 270.9);
Tailwind
colors: {
  custom: {
    50: '#7575b5',
    500: '#314195',
    950: '#000000',
  },
}
SCSS
$custom: #314195;
$custom-light: #7575b5;
$custom-dark: #000000;
JSON
{
  "hex": "#314195",
  "rgb": {
    "r": 49,
    "g": 65,
    "b": 149
  },
  "hsl": {
    "h": 230.4,
    "s": 50.505,
    "l": 38.824
  },
  "oklch": {
    "l": 0.41267,
    "c": 0.13864,
    "h": 270.9
  },
  "luminance": 0.06603
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #314195

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

Preview Lab → · Contrast checker → · Palette generator →

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