#2F5BBB#2F5BBB

#2F5BBB is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.5% C 0.159 H 263.3°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#2F5BBB
RGBrgb(47, 91, 187)
HSLhsl(221, 60%, 46%)
HSVhsv(221, 75%, 73%)
CMYKcmyk(74.9%, 51.3%, 0%, 26.7%)
CIE-LABlab(40.69, 18.94, -55.02)
CIE-LCHlch(40.69, 58.19, 289.00°)
OKLaboklab(49.53% -0.0187 -0.1583)
OKLCHoklch(49.53% 0.159 263.3)
XYZxyz(13.8798, 11.6728, 48.5256)
Luminance0.1167 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5BBB #BB8F2F
analogous
#2FA1BB #2F5BBB #492FBB
triadic
#2F5BBB #BB2F5B #5BBB2F
tetradic
#2F5BBB #BB2FA1 #BB8F2F #2FBB49
square
#2F5BBB #BB2FA1 #BB8F2F #2FBB49
split-complementary
#2F5BBB #BB492F #A1BB2F
monochromatic
#162B59 #23438A #2F5BBB #537CD4 #84A1E0

Accessibility & contrast

On white

6.30
#2F5BBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#2F5BBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F5BBB
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5BBB#FFFFFF#000000##FFFFFF
##2F5BBB1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E67BE
Deuteranopia (green-blind)
#005AB9
Tritanopia (blue-blind)
#007282
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2f5bbb;
/* rgb */ color: rgb(47, 91, 187);
/* oklch */ color: oklch(49.5% 0.159 263.3);
Tailwind
colors: {
  custom: {
    50: '#7b88d0',
    500: '#2f5bbb',
    950: '#000000',
  },
}
SCSS
$custom: #2f5bbb;
$custom-light: #7b88d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5bbb",
  "rgb": {
    "r": 47,
    "g": 91,
    "b": 187
  },
  "hsl": {
    "h": 221.143,
    "s": 59.829,
    "l": 45.882
  },
  "oklch": {
    "l": 0.49528,
    "c": 0.15939,
    "h": 263.3
  },
  "luminance": 0.11674
}

Semantic roles & 50–950 ramp

primary
#2F5BBB
secondary
#C9B17C
accent
#B145E3
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #2F5BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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