#314583#314583

#314583 is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.8% C 0.107 H 268.0°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#314583
RGBrgb(49, 69, 131)
HSLhsl(225, 46%, 35%)
HSVhsv(225, 63%, 51%)
CMYKcmyk(62.6%, 47.3%, 0%, 48.6%)
CIE-LABlab(30.75, 12.84, -37.35)
CIE-LCHlch(30.75, 39.49, 288.98°)
OKLaboklab(40.76% -0.0037 -0.1066)
OKLCHoklch(40.76% 0.107 268)
XYZxyz(7.4901, 6.5473, 22.3374)
Luminance0.0655 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314583 #836F31
analogous
#316E83 #314583 #463183
triadic
#314583 #833145 #458331
tetradic
#314583 #83316E #836F31 #318346
square
#314583 #83316E #836F31 #318346
split-complementary
#314583 #834631 #6E8331
monochromatic
#10162A #202E56 #314583 #425CB0 #687FC6

Accessibility & contrast

On white

9.09
#314583 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#314583 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314583
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314583#FFFFFF#000000##FFFFFF
##3145831.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284C85
Deuteranopia (green-blind)
#1B4582
Tritanopia (blue-blind)
#00535D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #314583;
/* rgb */ color: rgb(49, 69, 131);
/* oklch */ color: oklch(40.8% 0.107 268.0);
Tailwind
colors: {
  custom: {
    50: '#7178a7',
    500: '#314583',
    950: '#000000',
  },
}
SCSS
$custom: #314583;
$custom-light: #7178a7;
$custom-dark: #000000;
JSON
{
  "hex": "#314583",
  "rgb": {
    "r": 49,
    "g": 69,
    "b": 131
  },
  "hsl": {
    "h": 225.366,
    "s": 45.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.40764,
    "c": 0.10666,
    "h": 268
  },
  "luminance": 0.06548
}

Semantic roles & 50–950 ramp

primary
#314583
secondary
#AE9B62
accent
#B553D5
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #314583

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

Preview Lab → · Contrast checker → · Palette generator →

#314583 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva