#314296#314296

#314296 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.6% C 0.139 H 270.6°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#314296
RGBrgb(49, 66, 150)
HSLhsl(230, 51%, 39%)
HSVhsv(230, 67%, 59%)
CMYKcmyk(67.3%, 56%, 0%, 41.2%)
CIE-LABlab(31.23, 21.90, -48.26)
CIE-LCHlch(31.23, 53.00, 294.41°)
OKLaboklab(41.55% 0.0014 -0.1387)
OKLCHoklch(41.55% 0.139 270.6)
XYZxyz(8.7180, 6.7506, 29.6918)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314296 #968531
analogous
#317596 #314296 #533196
triadic
#314296 #963142 #429631
tetradic
#314296 #963175 #968531 #319653
square
#314296 #963175 #968531 #319653
split-complementary
#314296 #965331 #759631
monochromatic
#13193A #222E68 #314296 #4358C1 #7181D1

Accessibility & contrast

On white

8.94
#314296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#314296 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314296
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314296#FFFFFF#000000##FFFFFF
##3142961.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #314296;
/* rgb */ color: rgb(49, 66, 150);
/* oklch */ color: oklch(41.6% 0.139 270.6);
Tailwind
colors: {
  custom: {
    50: '#7576b5',
    500: '#314296',
    950: '#000000',
  },
}
SCSS
$custom: #314296;
$custom-light: #7576b5;
$custom-dark: #000000;
JSON
{
  "hex": "#314296",
  "rgb": {
    "r": 49,
    "g": 66,
    "b": 150
  },
  "hsl": {
    "h": 229.901,
    "s": 50.754,
    "l": 39.02
  },
  "oklch": {
    "l": 0.41552,
    "c": 0.13875,
    "h": 270.6
  },
  "luminance": 0.06751
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #314296

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

Preview Lab → · Contrast checker → · Palette generator →

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