#2F5DC0#2F5DC0

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

Color values

HEX#2F5DC0
RGBrgb(47, 93, 192)
HSLhsl(221, 61%, 47%)
HSVhsv(221, 76%, 75%)
CMYKcmyk(75.5%, 51.6%, 0%, 24.7%)
CIE-LABlab(41.59, 19.53, -56.48)
CIE-LCHlch(41.59, 59.77, 289.07°)
OKLaboklab(50.32% -0.0197 -0.1625)
OKLCHoklch(50.32% 0.164 263.1)
XYZxyz(14.5977, 12.2372, 51.4516)
Luminance0.1224 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5DC0 #C0922F
analogous
#2FA5C0 #2F5DC0 #4A2FC0
triadic
#2F5DC0 #C02F5D #5DC02F
tetradic
#2F5DC0 #C02FA5 #C0922F #2FC04A
square
#2F5DC0 #C02FA5 #C0922F #2FC04A
split-complementary
#2F5DC0 #C04A2F #A5C02F
monochromatic
#172D5E #23458F #2F5DC0 #567FD6 #88A4E2

Accessibility & contrast

On white

6.09
#2F5DC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#2F5DC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F5DC0
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5DC0#FFFFFF#000000##FFFFFF
##2F5DC01.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C69C4
Deuteranopia (green-blind)
#005CBE
Tritanopia (blue-blind)
#007585
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2f5dc0;
/* rgb */ color: rgb(47, 93, 192);
/* oklch */ color: oklch(50.3% 0.164 263.1);
Tailwind
colors: {
  custom: {
    50: '#7c8ad4',
    500: '#2f5dc0',
    950: '#000000',
  },
}
SCSS
$custom: #2f5dc0;
$custom-light: #7c8ad4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5dc0",
  "rgb": {
    "r": 47,
    "g": 93,
    "b": 192
  },
  "hsl": {
    "h": 220.966,
    "s": 60.669,
    "l": 46.863
  },
  "oklch": {
    "l": 0.50323,
    "c": 0.16374,
    "h": 263.1
  },
  "luminance": 0.12239
}

Semantic roles & 50–950 ramp

primary
#2F5DC0
secondary
#CBB37F
accent
#B144E4
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2F5DC0

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

Preview Lab → · Contrast checker → · Palette generator →

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