#314580#314580

#314580 is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.6% C 0.102 H 267.6°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#314580
RGBrgb(49, 69, 128)
HSLhsl(225, 45%, 35%)
HSVhsv(225, 62%, 50%)
CMYKcmyk(61.7%, 46.1%, 0%, 49.8%)
CIE-LABlab(30.56, 11.74, -35.79)
CIE-LCHlch(30.56, 37.67, 288.16°)
OKLaboklab(40.56% -0.0042 -0.102)
OKLCHoklch(40.56% 0.102 267.6)
XYZxyz(7.2897, 6.4671, 21.2820)
Luminance0.0647 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314580 #806C31
analogous
#316D80 #314580 #443180
triadic
#314580 #803145 #458031
tetradic
#314580 #80316D #806C31 #318044
square
#314580 #80316D #806C31 #318044
split-complementary
#314580 #804431 #6D8031
monochromatic
#0F1527 #202D54 #314580 #425DAC #677EC5

Accessibility & contrast

On white

9.16
#314580 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#314580 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314580
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314580#FFFFFF#000000##FFFFFF
##3145801.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4C82
Deuteranopia (green-blind)
#1E457F
Tritanopia (blue-blind)
#00525C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #314580;
/* rgb */ color: rgb(49, 69, 128);
/* oklch */ color: oklch(40.6% 0.102 267.6);
Tailwind
colors: {
  custom: {
    50: '#7178a5',
    500: '#314580',
    950: '#000000',
  },
}
SCSS
$custom: #314580;
$custom-light: #7178a5;
$custom-dark: #000000;
JSON
{
  "hex": "#314580",
  "rgb": {
    "r": 49,
    "g": 69,
    "b": 128
  },
  "hsl": {
    "h": 224.81,
    "s": 44.633,
    "l": 34.706
  },
  "oklch": {
    "l": 0.40556,
    "c": 0.10212,
    "h": 267.6
  },
  "luminance": 0.06468
}

Semantic roles & 50–950 ramp

primary
#314580
secondary
#AC9961
accent
#B453D4
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #314580

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

Preview Lab → · Contrast checker → · Palette generator →

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