#314775#314775

#314775 is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.3% C 0.083 H 263.7°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#314775
RGBrgb(49, 71, 117)
HSLhsl(221, 41%, 33%)
HSVhsv(221, 58%, 46%)
CMYKcmyk(58.1%, 39.3%, 0%, 54.1%)
CIE-LABlab(30.50, 6.40, -29.00)
CIE-LCHlch(30.50, 29.70, 282.44°)
OKLaboklab(40.3% -0.009 -0.0821)
OKLCHoklch(40.3% 0.083 263.7)
XYZxyz(6.7297, 6.4433, 17.7152)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314775 #755F31
analogous
#316975 #314775 #3D3175
triadic
#314775 #753147 #477531
tetradic
#314775 #753169 #755F31 #31753D
square
#314775 #753169 #755F31 #31753D
split-complementary
#314775 #753D31 #697531
monochromatic
#0D131F #1F2D4A #314775 #4361A0 #6380BE

Accessibility & contrast

On white

9.18
#314775 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #314775
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314775#FFFFFF#000000##FFFFFF
##3147751.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344B77
Deuteranopia (green-blind)
#2C4574
Tritanopia (blue-blind)
#065158
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #314775;
/* rgb */ color: rgb(49, 71, 117);
/* oklch */ color: oklch(40.3% 0.083 263.7);
Tailwind
colors: {
  custom: {
    50: '#6f799d',
    500: '#314775',
    950: '#000000',
  },
}
SCSS
$custom: #314775;
$custom-light: #6f799d;
$custom-dark: #000000;
JSON
{
  "hex": "#314775",
  "rgb": {
    "r": 49,
    "g": 71,
    "b": 117
  },
  "hsl": {
    "h": 220.588,
    "s": 40.964,
    "l": 32.549
  },
  "oklch": {
    "l": 0.40298,
    "c": 0.08261,
    "h": 263.7
  },
  "luminance": 0.06444
}

Semantic roles & 50–950 ramp

primary
#314775
secondary
#A58E5D
accent
#A957D1
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#08090E
muted
#7B7B7E

Preview Lab

Preview with #314775

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

Preview Lab → · Contrast checker → · Palette generator →

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