#313E63#313E63

#313E63 is a dark, moderate blue. Relative luminance 0.050; OKLCH L 37.0% C 0.066 H 268.4°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#313E63
RGBrgb(49, 62, 99)
HSLhsl(224, 34%, 29%)
HSVhsv(224, 51%, 39%)
CMYKcmyk(50.5%, 37.4%, 0%, 61.2%)
CIE-LABlab(26.73, 6.12, -23.50)
CIE-LCHlch(26.73, 24.29, 284.59°)
OKLaboklab(37.05% -0.0019 -0.0662)
OKLCHoklch(37.05% 0.066 268.4)
XYZxyz(5.2407, 4.9988, 12.4907)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313E63 #635631
analogous
#315763 #313E63 #3D3163
triadic
#313E63 #63313E #3E6331
tetradic
#313E63 #633157 #635631 #31633D
square
#313E63 #633157 #635631 #31633D
split-complementary
#313E63 #633D31 #576331
monochromatic
#0A0D14 #1D243A #313E63 #45588C #5F74B0

Accessibility & contrast

On white

10.50
#313E63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#313E63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313E63
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313E63#FFFFFF#000000##FFFFFF
##313E631.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304265
Deuteranopia (green-blind)
#2B3D62
Tritanopia (blue-blind)
#1D464C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #313e63;
/* rgb */ color: rgb(49, 62, 99);
/* oklch */ color: oklch(37.0% 0.066 268.4);
Tailwind
colors: {
  custom: {
    50: '#6c738f',
    500: '#313e63',
    950: '#000000',
  },
}
SCSS
$custom: #313e63;
$custom-light: #6c738f;
$custom-dark: #000000;
JSON
{
  "hex": "#313e63",
  "rgb": {
    "r": 49,
    "g": 62,
    "b": 99
  },
  "hsl": {
    "h": 224.4,
    "s": 33.784,
    "l": 29.02
  },
  "oklch": {
    "l": 0.37049,
    "c": 0.06619,
    "h": 268.4
  },
  "luminance": 0.04999
}

Semantic roles & 50–950 ramp

primary
#313E63
secondary
#94865C
accent
#AE5ECA
background
#F6F6F8
surface
#EBECF0
border
#C6C7CB
text
#07080C
muted
#7A7B7D

Preview Lab

Preview with #313E63

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

Preview Lab → · Contrast checker → · Palette generator →

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