#314BCA#314BCA

#314BCA is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.7% C 0.198 H 268.5°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#314BCA
RGBrgb(49, 75, 202)
HSLhsl(230, 61%, 49%)
HSVhsv(230, 76%, 79%)
CMYKcmyk(75.7%, 62.9%, 0%, 20.8%)
CIE-LABlab(37.75, 35.12, -68.54)
CIE-LCHlch(37.75, 77.02, 297.13°)
OKLaboklab(47.71% -0.0051 -0.1982)
OKLCHoklch(47.71% 0.198 268.5)
XYZxyz(14.4397, 9.9478, 57.0248)
Luminance0.0995 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314BCA #CAB031
analogous
#3198CA #314BCA #6431CA
triadic
#314BCA #CA314B #4BCA31
tetradic
#314BCA #CA3198 #CAB031 #31CA64
square
#314BCA #CA3198 #CAB031 #31CA64
split-complementary
#314BCA #CA6431 #98CA31
monochromatic
#192667 #253999 #314BCA #6074D8 #919FE4

Accessibility & contrast

On white

7.02
#314BCA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#314BCA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314BCA
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314BCA#FFFFFF#000000##FFFFFF
##314BCA1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CE
Deuteranopia (green-blind)
#0052C8
Tritanopia (blue-blind)
#006C83
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #314bca;
/* rgb */ color: rgb(49, 75, 202);
/* oklch */ color: oklch(47.7% 0.198 268.5);
Tailwind
colors: {
  custom: {
    50: '#807ddb',
    500: '#314bca',
    950: '#000000',
  },
}
SCSS
$custom: #314bca;
$custom-light: #807ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#314bca",
  "rgb": {
    "r": 49,
    "g": 75,
    "b": 202
  },
  "hsl": {
    "h": 229.804,
    "s": 60.956,
    "l": 49.216
  },
  "oklch": {
    "l": 0.47707,
    "c": 0.19825,
    "h": 268.5
  },
  "luminance": 0.09949
}

Semantic roles & 50–950 ramp

primary
#314BCA
secondary
#CFC388
accent
#C944E4
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #314BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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