#31468F#31468F

#31468F is a dark, vivid blue. Relative luminance 0.070; OKLCH L 41.9% C 0.123 H 268.6°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#31468F
RGBrgb(49, 70, 143)
HSLhsl(227, 49%, 38%)
HSVhsv(227, 66%, 56%)
CMYKcmyk(65.7%, 51%, 0%, 43.9%)
CIE-LABlab(31.84, 16.61, -43.00)
CIE-LCHlch(31.84, 46.09, 291.12°)
OKLaboklab(41.85% -0.0031 -0.1232)
OKLCHoklch(41.85% 0.123 268.6)
XYZxyz(8.4130, 7.0157, 26.8921)
Luminance0.0702 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31468F #8F7A31
analogous
#31758F #31468F #4B318F
triadic
#31468F #8F3146 #468F31
tetradic
#31468F #8F3175 #8F7A31 #318F4B
square
#31468F #8F3175 #8F7A31 #318F4B
split-complementary
#31468F #8F4B31 #758F31
monochromatic
#121934 #213061 #31468F #415CBD #6D83CD

Accessibility & contrast

On white

8.74
#31468F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#31468F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31468F
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31468F#FFFFFF#000000##FFFFFF
##31468F1.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4F92
Deuteranopia (green-blind)
#05478D
Tritanopia (blue-blind)
#005763
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #31468f;
/* rgb */ color: rgb(49, 70, 143);
/* oklch */ color: oklch(41.9% 0.123 268.6);
Tailwind
colors: {
  custom: {
    50: '#7379b0',
    500: '#31468f',
    950: '#000000',
  },
}
SCSS
$custom: #31468f;
$custom-light: #7379b0;
$custom-dark: #000000;
JSON
{
  "hex": "#31468f",
  "rgb": {
    "r": 49,
    "g": 70,
    "b": 143
  },
  "hsl": {
    "h": 226.596,
    "s": 48.958,
    "l": 37.647
  },
  "oklch": {
    "l": 0.41852,
    "c": 0.12324,
    "h": 268.6
  },
  "luminance": 0.07016
}

Semantic roles & 50–950 ramp

primary
#31468F
secondary
#B5A367
accent
#BA4FD9
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#090910
muted
#7B7B7F

Preview Lab

Preview with #31468F

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

Preview Lab → · Contrast checker → · Palette generator →

#31468F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva