#313E67#313E67

#313E67 is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.3% C 0.073 H 269.4°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#313E67
RGBrgb(49, 62, 103)
HSLhsl(226, 36%, 30%)
HSVhsv(226, 52%, 40%)
CMYKcmyk(52.4%, 39.8%, 0%, 59.6%)
CIE-LABlab(26.95, 7.51, -25.73)
CIE-LCHlch(26.95, 26.80, 286.26°)
OKLaboklab(37.29% -0.0008 -0.0726)
OKLCHoklch(37.29% 0.073 269.4)
XYZxyz(5.4366, 5.0771, 13.5228)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313E67 #675A31
analogous
#315967 #313E67 #3F3167
triadic
#313E67 #67313E #3E6731
tetradic
#313E67 #673159 #675A31 #31673F
square
#313E67 #673159 #675A31 #31673F
split-complementary
#313E67 #673F31 #596731
monochromatic
#0A0C15 #1D253E #313E67 #455790 #5F73B3

Accessibility & contrast

On white

10.42
#313E67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #313E67
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313E67#FFFFFF#000000##FFFFFF
##313E671.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4269
Deuteranopia (green-blind)
#293E66
Tritanopia (blue-blind)
#1A474D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #313e67;
/* rgb */ color: rgb(49, 62, 103);
/* oklch */ color: oklch(37.3% 0.073 269.4);
Tailwind
colors: {
  custom: {
    50: '#6d7392',
    500: '#313e67',
    950: '#000000',
  },
}
SCSS
$custom: #313e67;
$custom-light: #6d7392;
$custom-dark: #000000;
JSON
{
  "hex": "#313e67",
  "rgb": {
    "r": 49,
    "g": 62,
    "b": 103
  },
  "hsl": {
    "h": 225.556,
    "s": 35.526,
    "l": 29.804
  },
  "oklch": {
    "l": 0.37294,
    "c": 0.07264,
    "h": 269.4
  },
  "luminance": 0.05077
}

Semantic roles & 50–950 ramp

primary
#313E67
secondary
#988A5C
accent
#B15CCC
background
#F6F6F9
surface
#ECECF1
border
#C7C7CB
text
#07080D
muted
#7A7B7E

Preview Lab

Preview with #313E67

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

Preview Lab → · Contrast checker → · Palette generator →

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