#2F5CA0#2F5CA0

#2F5CA0 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 47.8% C 0.121 H 258.5°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#2F5CA0
RGBrgb(47, 92, 160)
HSLhsl(216, 55%, 41%)
HSVhsv(216, 71%, 63%)
CMYKcmyk(70.6%, 42.5%, 0%, 37.3%)
CIE-LABlab(39.23, 8.09, -41.43)
CIE-LCHlch(39.23, 42.21, 281.05°)
OKLaboklab(47.85% -0.024 -0.1183)
OKLCHoklch(47.85% 0.121 258.5)
XYZxyz(11.3423, 10.7955, 34.7369)
Luminance0.1080 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5CA0 #A0732F
analogous
#2F94A0 #2F5CA0 #3A2FA0
triadic
#2F5CA0 #A02F5C #5CA02F
tetradic
#2F5CA0 #A02F94 #A0732F #2FA03A
square
#2F5CA0 #A02F94 #A0732F #2FA03A
split-complementary
#2F5CA0 #A03A2F #94A02F
monochromatic
#132641 #214171 #2F5CA0 #4479C8 #739BD6

Accessibility & contrast

On white

6.65
#2F5CA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#2F5CA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F5CA0
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5CA0#FFFFFF#000000##FFFFFF
##2F5CA01.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C62A3
Deuteranopia (green-blind)
#29589F
Tritanopia (blue-blind)
#006C76
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2f5ca0;
/* rgb */ color: rgb(47, 92, 160);
/* oklch */ color: oklch(47.8% 0.121 258.5);
Tailwind
colors: {
  custom: {
    50: '#7589bc',
    500: '#2f5ca0',
    950: '#000000',
  },
}
SCSS
$custom: #2f5ca0;
$custom-light: #7589bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5ca0",
  "rgb": {
    "r": 47,
    "g": 92,
    "b": 160
  },
  "hsl": {
    "h": 216.106,
    "s": 54.589,
    "l": 40.588
  },
  "oklch": {
    "l": 0.47849,
    "c": 0.12069,
    "h": 258.5
  },
  "luminance": 0.10797
}

Semantic roles & 50–950 ramp

primary
#2F5CA0
secondary
#BE9E6D
accent
#A34ADE
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2F5CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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