#314C90#314C90

#314C90 is a dark, moderate blue. Relative luminance 0.078; OKLCH L 43.2% C 0.117 H 265.5°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#314C90
RGBrgb(49, 76, 144)
HSLhsl(223, 49%, 38%)
HSVhsv(223, 66%, 56%)
CMYKcmyk(66%, 47.2%, 0%, 43.5%)
CIE-LABlab(33.64, 12.96, -40.73)
CIE-LCHlch(33.64, 42.74, 287.65°)
OKLaboklab(43.24% -0.0091 -0.1164)
OKLCHoklch(43.24% 0.117 265.5)
XYZxyz(8.8834, 7.8346, 27.4242)
Luminance0.0784 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314C90 #907531
analogous
#317C90 #314C90 #453190
triadic
#314C90 #90314C #4C9031
tetradic
#314C90 #90317C #907531 #319045
square
#314C90 #90317C #907531 #319045
split-complementary
#314C90 #904531 #7C9031
monochromatic
#121C35 #213462 #314C90 #4164BE #6E89CE

Accessibility & contrast

On white

8.18
#314C90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#314C90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314C90
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314C90#FFFFFF#000000##FFFFFF
##314C901.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5493
Deuteranopia (green-blind)
#194B8F
Tritanopia (blue-blind)
#005C67
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #314c90;
/* rgb */ color: rgb(49, 76, 144);
/* oklch */ color: oklch(43.2% 0.117 265.5);
Tailwind
colors: {
  custom: {
    50: '#737db1',
    500: '#314c90',
    950: '#000000',
  },
}
SCSS
$custom: #314c90;
$custom-light: #737db1;
$custom-dark: #000000;
JSON
{
  "hex": "#314c90",
  "rgb": {
    "r": 49,
    "g": 76,
    "b": 144
  },
  "hsl": {
    "h": 222.947,
    "s": 49.223,
    "l": 37.843
  },
  "oklch": {
    "l": 0.43241,
    "c": 0.11679,
    "h": 265.5
  },
  "luminance": 0.07835
}

Semantic roles & 50–950 ramp

primary
#314C90
secondary
#B59F68
accent
#B24FD9
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#090911
muted
#7B7B80

Preview Lab

Preview with #314C90

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

Preview Lab → · Contrast checker → · Palette generator →

#314C90 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva