#314F94#314F94

#314F94 is a dark, moderate blue. Relative luminance 0.084; OKLCH L 44.2% C 0.119 H 264.4°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#314F94
RGBrgb(49, 79, 148)
HSLhsl(222, 50%, 39%)
HSVhsv(222, 67%, 58%)
CMYKcmyk(66.9%, 46.6%, 0%, 42%)
CIE-LABlab(34.77, 12.45, -41.35)
CIE-LCHlch(34.77, 43.18, 286.76°)
OKLaboklab(44.19% -0.0116 -0.1182)
OKLCHoklch(44.19% 0.119 264.4)
XYZxyz(9.4060, 8.3822, 29.1335)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314F94 #947631
analogous
#318094 #314F94 #443194
triadic
#314F94 #94314F #4F9431
tetradic
#314F94 #943180 #947631 #319444
square
#314F94 #943180 #947631 #319444
split-complementary
#314F94 #944431 #809431
monochromatic
#131E38 #223666 #314F94 #4268C0 #708DD0

Accessibility & contrast

On white

7.85
#314F94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#314F94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314F94
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314F94#FFFFFF#000000##FFFFFF
##314F941.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5797
Deuteranopia (green-blind)
#1B4E93
Tritanopia (blue-blind)
#005F6A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #314f94;
/* rgb */ color: rgb(49, 79, 148);
/* oklch */ color: oklch(44.2% 0.119 264.4);
Tailwind
colors: {
  custom: {
    50: '#747fb4',
    500: '#314f94',
    950: '#000000',
  },
}
SCSS
$custom: #314f94;
$custom-light: #747fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#314f94",
  "rgb": {
    "r": 49,
    "g": 79,
    "b": 148
  },
  "hsl": {
    "h": 221.818,
    "s": 50.254,
    "l": 38.627
  },
  "oklch": {
    "l": 0.4419,
    "c": 0.11879,
    "h": 264.4
  },
  "luminance": 0.08383
}

Semantic roles & 50–950 ramp

primary
#314F94
secondary
#B7A069
accent
#AF4EDA
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #314F94

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

Preview Lab → · Contrast checker → · Palette generator →

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