#2F5CC2#2F5CC2

#2F5CC2 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.3% C 0.168 H 263.6°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#2F5CC2
RGBrgb(47, 92, 194)
HSLhsl(222, 61%, 47%)
HSVhsv(222, 76%, 76%)
CMYKcmyk(75.8%, 52.6%, 0%, 23.9%)
CIE-LABlab(41.46, 20.93, -57.86)
CIE-LCHlch(41.46, 61.53, 289.89°)
OKLaboklab(50.27% -0.0187 -0.1666)
OKLCHoklch(50.27% 0.168 263.6)
XYZxyz(14.7336, 12.1520, 52.5975)
Luminance0.1215 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5CC2 #C2952F
analogous
#2FA5C2 #2F5CC2 #4C2FC2
triadic
#2F5CC2 #C22F5C #5CC22F
tetradic
#2F5CC2 #C22FA5 #C2952F #2FC24C
square
#2F5CC2 #C22FA5 #C2952F #2FC24C
split-complementary
#2F5CC2 #C24C2F #A5C22F
monochromatic
#172D5F #234591 #2F5CC2 #587FD6 #89A4E2

Accessibility & contrast

On white

6.12
#2F5CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#2F5CC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F5CC2
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5CC2#FFFFFF#000000##FFFFFF
##2F5CC21.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1369C6
Deuteranopia (green-blind)
#005BC0
Tritanopia (blue-blind)
#007586
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2f5cc2;
/* rgb */ color: rgb(47, 92, 194);
/* oklch */ color: oklch(50.3% 0.168 263.6);
Tailwind
colors: {
  custom: {
    50: '#7d89d5',
    500: '#2f5cc2',
    950: '#000000',
  },
}
SCSS
$custom: #2f5cc2;
$custom-light: #7d89d5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5cc2",
  "rgb": {
    "r": 47,
    "g": 92,
    "b": 194
  },
  "hsl": {
    "h": 221.633,
    "s": 60.996,
    "l": 47.255
  },
  "oklch": {
    "l": 0.50266,
    "c": 0.16768,
    "h": 263.6
  },
  "luminance": 0.12154
}

Semantic roles & 50–950 ramp

primary
#2F5CC2
secondary
#CCB581
accent
#B344E4
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2F5CC2

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

Preview Lab → · Contrast checker → · Palette generator →

#2F5CC2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva