#314295#314295

#314295 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.5% C 0.137 H 270.6°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#314295
RGBrgb(49, 66, 149)
HSLhsl(230, 51%, 39%)
HSVhsv(230, 67%, 58%)
CMYKcmyk(67.1%, 55.7%, 0%, 41.6%)
CIE-LABlab(31.16, 21.53, -47.77)
CIE-LCHlch(31.16, 52.40, 294.26°)
OKLaboklab(41.47% 0.0014 -0.1373)
OKLCHoklch(41.47% 0.137 270.6)
XYZxyz(8.6378, 6.7185, 29.2695)
Luminance0.0672 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314295 #958431
analogous
#317495 #314295 #523195
triadic
#314295 #953142 #429531
tetradic
#314295 #953174 #958431 #319552
square
#314295 #953174 #958431 #319552
split-complementary
#314295 #955231 #749531
monochromatic
#131939 #222E67 #314295 #4258C1 #7081D0

Accessibility & contrast

On white

8.96
#314295 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#314295 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314295
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314295#FFFFFF#000000##FFFFFF
##3142951.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014E98
Deuteranopia (green-blind)
#004593
Tritanopia (blue-blind)
#005665
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #314295;
/* rgb */ color: rgb(49, 66, 149);
/* oklch */ color: oklch(41.5% 0.137 270.6);
Tailwind
colors: {
  custom: {
    50: '#7576b5',
    500: '#314295',
    950: '#000000',
  },
}
SCSS
$custom: #314295;
$custom-light: #7576b5;
$custom-dark: #000000;
JSON
{
  "hex": "#314295",
  "rgb": {
    "r": 49,
    "g": 66,
    "b": 149
  },
  "hsl": {
    "h": 229.8,
    "s": 50.505,
    "l": 38.824
  },
  "oklch": {
    "l": 0.41472,
    "c": 0.13732,
    "h": 270.6
  },
  "luminance": 0.06719
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #314295

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

Preview Lab → · Contrast checker → · Palette generator →

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