#314892#314892

#314892 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.5% C 0.125 H 267.8°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#314892
RGBrgb(49, 72, 146)
HSLhsl(226, 50%, 38%)
HSVhsv(226, 66%, 57%)
CMYKcmyk(66.4%, 50.7%, 0%, 42.7%)
CIE-LABlab(32.62, 16.38, -43.58)
CIE-LCHlch(32.62, 46.56, 290.60°)
OKLaboklab(42.51% -0.0048 -0.1249)
OKLCHoklch(42.51% 0.125 267.8)
XYZxyz(8.7705, 7.3622, 28.1474)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314892 #927B31
analogous
#317892 #314892 #4A3192
triadic
#314892 #923148 #489231
tetradic
#314892 #923178 #927B31 #31924A
square
#314892 #923178 #927B31 #31924A
split-complementary
#314892 #924A31 #789231
monochromatic
#121B36 #223164 #314892 #415FBF #6F86CF

Accessibility & contrast

On white

8.49
#314892 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#314892 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314892
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314892#FFFFFF#000000##FFFFFF
##3148921.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5195
Deuteranopia (green-blind)
#054990
Tritanopia (blue-blind)
#005966
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #314892;
/* rgb */ color: rgb(49, 72, 146);
/* oklch */ color: oklch(42.5% 0.125 267.8);
Tailwind
colors: {
  custom: {
    50: '#747ab2',
    500: '#314892',
    950: '#000000',
  },
}
SCSS
$custom: #314892;
$custom-light: #747ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#314892",
  "rgb": {
    "r": 49,
    "g": 72,
    "b": 146
  },
  "hsl": {
    "h": 225.773,
    "s": 49.744,
    "l": 38.235
  },
  "oklch": {
    "l": 0.42507,
    "c": 0.12499,
    "h": 267.8
  },
  "luminance": 0.07363
}

Semantic roles & 50–950 ramp

primary
#314892
secondary
#B6A469
accent
#B84FD9
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #314892

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

Preview Lab → · Contrast checker → · Palette generator →

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