#314489#314489

#314489 is a dark, moderate blue. Relative luminance 0.066; OKLCH L 41.0% C 0.117 H 269.1°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#314489
RGBrgb(49, 68, 137)
HSLhsl(227, 47%, 36%)
HSVhsv(227, 64%, 54%)
CMYKcmyk(64.2%, 50.4%, 0%, 46.3%)
CIE-LABlab(30.86, 15.73, -40.89)
CIE-LCHlch(30.86, 43.81, 291.05°)
OKLaboklab(40.98% -0.0018 -0.117)
OKLCHoklch(40.98% 0.117 269.1)
XYZxyz(7.8476, 6.5927, 24.5210)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314489 #897631
analogous
#317089 #314489 #4A3189
triadic
#314489 #893144 #448931
tetradic
#314489 #893170 #897631 #31894A
square
#314489 #893170 #897631 #31894A
split-complementary
#314489 #894A31 #708931
monochromatic
#11172F #212E5C #314489 #415AB6 #6B7FCA

Accessibility & contrast

On white

9.06
#314489 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #314489
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314489#FFFFFF#000000##FFFFFF
##3144891.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204D8C
Deuteranopia (green-blind)
#0D4588
Tritanopia (blue-blind)
#005460
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #314489;
/* rgb */ color: rgb(49, 68, 137);
/* oklch */ color: oklch(41.0% 0.117 269.1);
Tailwind
colors: {
  custom: {
    50: '#7277ac',
    500: '#314489',
    950: '#000000',
  },
}
SCSS
$custom: #314489;
$custom-light: #7277ac;
$custom-dark: #000000;
JSON
{
  "hex": "#314489",
  "rgb": {
    "r": 49,
    "g": 68,
    "b": 137
  },
  "hsl": {
    "h": 227.045,
    "s": 47.312,
    "l": 36.471
  },
  "oklch": {
    "l": 0.40975,
    "c": 0.11703,
    "h": 269.1
  },
  "luminance": 0.06593
}

Semantic roles & 50–950 ramp

primary
#314489
secondary
#B1A164
accent
#BA51D7
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #314489

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

Preview Lab → · Contrast checker → · Palette generator →

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