#314482#314482

#314482 is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.5% C 0.107 H 268.5°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#314482
RGBrgb(49, 68, 130)
HSLhsl(226, 45%, 35%)
HSVhsv(226, 62%, 51%)
CMYKcmyk(62.3%, 47.7%, 0%, 49%)
CIE-LABlab(30.40, 13.15, -37.30)
CIE-LCHlch(30.40, 39.55, 289.42°)
OKLaboklab(40.47% -0.0028 -0.1065)
OKLCHoklch(40.47% 0.107 268.5)
XYZxyz(7.3616, 6.3983, 21.9618)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314482 #826F31
analogous
#316C82 #314482 #473182
triadic
#314482 #823144 #448231
tetradic
#314482 #82316C #826F31 #318247
square
#314482 #82316C #826F31 #318247
split-complementary
#314482 #824731 #6C8231
monochromatic
#0F1629 #202D56 #314482 #425BAE #687EC6

Accessibility & contrast

On white

9.21
#314482 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#314482 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314482
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314482#FFFFFF#000000##FFFFFF
##3144821.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264B84
Deuteranopia (green-blind)
#1A4481
Tritanopia (blue-blind)
#00525C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #314482;
/* rgb */ color: rgb(49, 68, 130);
/* oklch */ color: oklch(40.5% 0.107 268.5);
Tailwind
colors: {
  custom: {
    50: '#7177a7',
    500: '#314482',
    950: '#000000',
  },
}
SCSS
$custom: #314482;
$custom-light: #7177a7;
$custom-dark: #000000;
JSON
{
  "hex": "#314482",
  "rgb": {
    "r": 49,
    "g": 68,
    "b": 130
  },
  "hsl": {
    "h": 225.926,
    "s": 45.251,
    "l": 35.098
  },
  "oklch": {
    "l": 0.40471,
    "c": 0.10651,
    "h": 268.5
  },
  "luminance": 0.06399
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #314482

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

Preview Lab → · Contrast checker → · Palette generator →

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