#313F65#313F65

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

Color values

HEX#313F65
RGBrgb(49, 63, 101)
HSLhsl(224, 35%, 29%)
HSVhsv(224, 51%, 40%)
CMYKcmyk(51.5%, 37.6%, 0%, 60.4%)
CIE-LABlab(27.15, 6.13, -24.13)
CIE-LCHlch(27.15, 24.90, 284.26°)
OKLaboklab(37.41% -0.0027 -0.068)
OKLCHoklch(37.41% 0.068 267.7)
XYZxyz(5.3923, 5.1472, 13.0188)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313F65 #655731
analogous
#315965 #313F65 #3D3165
triadic
#313F65 #65313F #3F6531
tetradic
#313F65 #653159 #655731 #31653D
square
#313F65 #653159 #655731 #31653D
split-complementary
#313F65 #653D31 #596531
monochromatic
#0A0D15 #1D253C #313F65 #45598E #5F75B1

Accessibility & contrast

On white

10.35
#313F65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#313F65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313F65
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313F65#FFFFFF#000000##FFFFFF
##313F651.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314367
Deuteranopia (green-blind)
#2B3E64
Tritanopia (blue-blind)
#1C474D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #313f65;
/* rgb */ color: rgb(49, 63, 101);
/* oklch */ color: oklch(37.4% 0.068 267.7);
Tailwind
colors: {
  custom: {
    50: '#6c7391',
    500: '#313f65',
    950: '#000000',
  },
}
SCSS
$custom: #313f65;
$custom-light: #6c7391;
$custom-dark: #000000;
JSON
{
  "hex": "#313f65",
  "rgb": {
    "r": 49,
    "g": 63,
    "b": 101
  },
  "hsl": {
    "h": 223.846,
    "s": 34.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.37409,
    "c": 0.06803,
    "h": 267.7
  },
  "luminance": 0.05148
}

Semantic roles & 50–950 ramp

primary
#313F65
secondary
#96865C
accent
#AD5DCB
background
#F6F7F8
surface
#ECEDF0
border
#C7C8CB
text
#07080C
muted
#7A7B7D

Preview Lab

Preview with #313F65

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

Preview Lab → · Contrast checker → · Palette generator →

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