#314481#314481

#314481 is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.4% C 0.105 H 268.4°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#314481
RGBrgb(49, 68, 129)
HSLhsl(226, 45%, 35%)
HSVhsv(226, 62%, 51%)
CMYKcmyk(62%, 47.3%, 0%, 49.4%)
CIE-LABlab(30.33, 12.78, -36.78)
CIE-LCHlch(30.33, 38.94, 289.16°)
OKLaboklab(40.4% -0.0029 -0.1049)
OKLCHoklch(40.4% 0.105 268.4)
XYZxyz(7.2949, 6.3716, 21.6100)
Luminance0.0637 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314481 #816E31
analogous
#316C81 #314481 #463181
triadic
#314481 #813144 #448131
tetradic
#314481 #81316C #816E31 #318146
square
#314481 #81316C #816E31 #318146
split-complementary
#314481 #814631 #6C8131
monochromatic
#0F1528 #202D55 #314481 #425BAD #677DC5

Accessibility & contrast

On white

9.23
#314481 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#314481 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314481
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314481#FFFFFF#000000##FFFFFF
##3144811.009.232.279.23
#FFFFFF9.231.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274B83
Deuteranopia (green-blind)
#1B4480
Tritanopia (blue-blind)
#00525C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #314481;
/* rgb */ color: rgb(49, 68, 129);
/* oklch */ color: oklch(40.4% 0.105 268.4);
Tailwind
colors: {
  custom: {
    50: '#7177a6',
    500: '#314481',
    950: '#000000',
  },
}
SCSS
$custom: #314481;
$custom-light: #7177a6;
$custom-dark: #000000;
JSON
{
  "hex": "#314481",
  "rgb": {
    "r": 49,
    "g": 68,
    "b": 129
  },
  "hsl": {
    "h": 225.75,
    "s": 44.944,
    "l": 34.902
  },
  "oklch": {
    "l": 0.404,
    "c": 0.10499,
    "h": 268.4
  },
  "luminance": 0.06372
}

Semantic roles & 50–950 ramp

primary
#314481
secondary
#AD9B61
accent
#B653D5
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #314481

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

Preview Lab → · Contrast checker → · Palette generator →

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