#314261#314261

#314261 is a dark, muted blue. Relative luminance 0.054; OKLCH L 37.9% C 0.058 H 261.9°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#314261
RGBrgb(49, 66, 97)
HSLhsl(219, 33%, 29%)
HSVhsv(219, 49%, 38%)
CMYKcmyk(49.5%, 32%, 0%, 62%)
CIE-LABlab(27.88, 2.75, -20.42)
CIE-LCHlch(27.88, 20.60, 277.67°)
OKLaboklab(37.91% -0.0081 -0.0572)
OKLCHoklch(37.91% 0.058 261.9)
XYZxyz(5.3718, 5.4121, 12.0685)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314261 #615031
analogous
#315A61 #314261 #383161
triadic
#314261 #613142 #426131
tetradic
#314261 #61315A #615031 #316138
square
#314261 #61315A #615031 #316138
split-complementary
#314261 #613831 #5A6131
monochromatic
#0A0E14 #1C2638 #314261 #465E8A #5E7BAE

Accessibility & contrast

On white

10.08
#314261 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#314261 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314261
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314261#FFFFFF#000000##FFFFFF
##3142611.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364462
Deuteranopia (green-blind)
#314060
Tritanopia (blue-blind)
#1E494D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #314261;
/* rgb */ color: rgb(49, 66, 97);
/* oklch */ color: oklch(37.9% 0.058 261.9);
Tailwind
colors: {
  custom: {
    50: '#6c768e',
    500: '#314261',
    950: '#000000',
  },
}
SCSS
$custom: #314261;
$custom-light: #6c768e;
$custom-dark: #000000;
JSON
{
  "hex": "#314261",
  "rgb": {
    "r": 49,
    "g": 66,
    "b": 97
  },
  "hsl": {
    "h": 218.75,
    "s": 32.877,
    "l": 28.627
  },
  "oklch": {
    "l": 0.37906,
    "c": 0.05777,
    "h": 261.9
  },
  "luminance": 0.05412
}

Semantic roles & 50–950 ramp

primary
#314261
secondary
#927F5C
accent
#A35FC9
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#07080C
muted
#7A7B7D

Preview Lab

Preview with #314261

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

Preview Lab → · Contrast checker → · Palette generator →

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