#2F5CC8#2F5CC8

#2F5CC8 is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.7% C 0.176 H 264.1°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#2F5CC8
RGBrgb(47, 92, 200)
HSLhsl(222, 62%, 48%)
HSVhsv(222, 77%, 78%)
CMYKcmyk(76.5%, 54%, 0%, 21.6%)
CIE-LABlab(41.89, 23.19, -60.64)
CIE-LCHlch(41.89, 64.93, 290.93°)
OKLaboklab(50.73% -0.0182 -0.1748)
OKLCHoklch(50.73% 0.176 264.1)
XYZxyz(15.4211, 12.4270, 56.2183)
Luminance0.1243 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5CC8 #C89B2F
analogous
#2FA8C8 #2F5CC8 #4E2FC8
triadic
#2F5CC8 #C82F5C #5CC82F
tetradic
#2F5CC8 #C82FA8 #C89B2F #2FC84E
square
#2F5CC8 #C82FA8 #C89B2F #2FC84E
split-complementary
#2F5CC8 #C84E2F #A8C82F
monochromatic
#182E65 #234596 #2F5CC8 #5C80D9 #8DA7E4

Accessibility & contrast

On white

6.02
#2F5CC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#2F5CC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F5CC8
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5CC8#FFFFFF#000000##FFFFFF
##2F5CC81.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACC
Deuteranopia (green-blind)
#005CC6
Tritanopia (blue-blind)
#007689
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2f5cc8;
/* rgb */ color: rgb(47, 92, 200);
/* oklch */ color: oklch(50.7% 0.176 264.1);
Tailwind
colors: {
  custom: {
    50: '#7e89d9',
    500: '#2f5cc8',
    950: '#000000',
  },
}
SCSS
$custom: #2f5cc8;
$custom-light: #7e89d9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5cc8",
  "rgb": {
    "r": 47,
    "g": 92,
    "b": 200
  },
  "hsl": {
    "h": 222.353,
    "s": 61.943,
    "l": 48.431
  },
  "oklch": {
    "l": 0.50728,
    "c": 0.17574,
    "h": 264.1
  },
  "luminance": 0.12429
}

Semantic roles & 50–950 ramp

primary
#2F5CC8
secondary
#CFB984
accent
#B543E5
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0B0B15
muted
#7C7C83

Preview Lab

Preview with #2F5CC8

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

Preview Lab → · Contrast checker → · Palette generator →

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