#2F5BBD#2F5BBD

#2F5BBD is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.7% C 0.162 H 263.4°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#2F5BBD
RGBrgb(47, 91, 189)
HSLhsl(221, 60%, 46%)
HSVhsv(221, 75%, 74%)
CMYKcmyk(75.1%, 51.9%, 0%, 25.9%)
CIE-LABlab(40.83, 19.70, -55.97)
CIE-LCHlch(40.83, 59.33, 289.39°)
OKLaboklab(49.68% -0.0185 -0.1611)
OKLCHoklch(49.68% 0.162 263.4)
XYZxyz(14.0954, 11.7591, 49.6611)
Luminance0.1176 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5BBD #BD912F
analogous
#2FA2BD #2F5BBD #4A2FBD
triadic
#2F5BBD #BD2F5B #5BBD2F
tetradic
#2F5BBD #BD2FA2 #BD912F #2FBD4A
square
#2F5BBD #BD2FA2 #BD912F #2FBD4A
split-complementary
#2F5BBD #BD4A2F #A2BD2F
monochromatic
#172C5B #23438C #2F5BBD #557CD5 #86A2E1

Accessibility & contrast

On white

6.26
#2F5BBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#2F5BBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F5BBD
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5BBD#FFFFFF#000000##FFFFFF
##2F5BBD1.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A67C1
Deuteranopia (green-blind)
#005ABB
Tritanopia (blue-blind)
#007383
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2f5bbd;
/* rgb */ color: rgb(47, 91, 189);
/* oklch */ color: oklch(49.7% 0.162 263.4);
Tailwind
colors: {
  custom: {
    50: '#7b88d2',
    500: '#2f5bbd',
    950: '#000000',
  },
}
SCSS
$custom: #2f5bbd;
$custom-light: #7b88d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5bbd",
  "rgb": {
    "r": 47,
    "g": 91,
    "b": 189
  },
  "hsl": {
    "h": 221.408,
    "s": 60.169,
    "l": 46.275
  },
  "oklch": {
    "l": 0.49678,
    "c": 0.16212,
    "h": 263.4
  },
  "luminance": 0.11761
}

Semantic roles & 50–950 ramp

primary
#2F5BBD
secondary
#CAB27E
accent
#B244E3
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #2F5BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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