#313E69#313E69

#313E69 is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.4% C 0.076 H 269.8°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#313E69
RGBrgb(49, 62, 105)
HSLhsl(226, 36%, 30%)
HSVhsv(226, 53%, 41%)
CMYKcmyk(53.3%, 41%, 0%, 58.8%)
CIE-LABlab(27.07, 8.20, -26.83)
CIE-LCHlch(27.07, 28.06, 287.00°)
OKLaboklab(37.42% -0.0003 -0.0758)
OKLCHoklch(37.42% 0.076 269.8)
XYZxyz(5.5382, 5.1178, 14.0579)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313E69 #695C31
analogous
#315A69 #313E69 #403169
triadic
#313E69 #69313E #3E6931
tetradic
#313E69 #69315A #695C31 #316940
square
#313E69 #69315A #695C31 #316940
split-complementary
#313E69 #694031 #5A6931
monochromatic
#0A0D16 #1E253F #313E69 #445793 #6073B5

Accessibility & contrast

On white

10.38
#313E69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#313E69 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313E69
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313E69#FFFFFF#000000##FFFFFF
##313E691.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D436B
Deuteranopia (green-blind)
#273E68
Tritanopia (blue-blind)
#19474E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #313e69;
/* rgb */ color: rgb(49, 62, 105);
/* oklch */ color: oklch(37.4% 0.076 269.8);
Tailwind
colors: {
  custom: {
    50: '#6d7394',
    500: '#313e69',
    950: '#000000',
  },
}
SCSS
$custom: #313e69;
$custom-light: #6d7394;
$custom-dark: #000000;
JSON
{
  "hex": "#313e69",
  "rgb": {
    "r": 49,
    "g": 62,
    "b": 105
  },
  "hsl": {
    "h": 226.071,
    "s": 36.364,
    "l": 30.196
  },
  "oklch": {
    "l": 0.37419,
    "c": 0.07585,
    "h": 269.8
  },
  "luminance": 0.05118
}

Semantic roles & 50–950 ramp

primary
#313E69
secondary
#9A8C5C
accent
#B25BCC
background
#F6F6F9
surface
#ECECF1
border
#C7C7CB
text
#07080D
muted
#7A7B7E

Preview Lab

Preview with #313E69

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

Preview Lab → · Contrast checker → · Palette generator →

#313E69 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva