#2F5BBE#2F5BBE

#2F5BBE is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.8% C 0.163 H 263.5°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#2F5BBE
RGBrgb(47, 91, 190)
HSLhsl(222, 60%, 46%)
HSVhsv(222, 75%, 75%)
CMYKcmyk(75.3%, 52.1%, 0%, 25.5%)
CIE-LABlab(40.90, 20.08, -56.44)
CIE-LCHlch(40.90, 59.90, 289.58°)
OKLaboklab(49.75% -0.0184 -0.1624)
OKLCHoklch(49.75% 0.163 263.5)
XYZxyz(14.2043, 11.8026, 50.2347)
Luminance0.1180 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5BBE #BE922F
analogous
#2FA3BE #2F5BBE #4A2FBE
triadic
#2F5BBE #BE2F5B #5BBE2F
tetradic
#2F5BBE #BE2FA3 #BE922F #2FBE4A
square
#2F5BBE #BE2FA3 #BE922F #2FBE4A
split-complementary
#2F5BBE #BE4A2F #A3BE2F
monochromatic
#172C5C #23448D #2F5BBE #557DD5 #86A2E1

Accessibility & contrast

On white

6.25
#2F5BBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#2F5BBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F5BBE
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5BBE#FFFFFF#000000##FFFFFF
##2F5BBE1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1867C2
Deuteranopia (green-blind)
#005ABC
Tritanopia (blue-blind)
#007384
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2f5bbe;
/* rgb */ color: rgb(47, 91, 190);
/* oklch */ color: oklch(49.8% 0.163 263.5);
Tailwind
colors: {
  custom: {
    50: '#7c88d2',
    500: '#2f5bbe',
    950: '#000000',
  },
}
SCSS
$custom: #2f5bbe;
$custom-light: #7c88d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5bbe",
  "rgb": {
    "r": 47,
    "g": 91,
    "b": 190
  },
  "hsl": {
    "h": 221.538,
    "s": 60.338,
    "l": 46.471
  },
  "oklch": {
    "l": 0.49754,
    "c": 0.16348,
    "h": 263.5
  },
  "luminance": 0.11804
}

Semantic roles & 50–950 ramp

primary
#2F5BBE
secondary
#CBB37E
accent
#B344E3
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2F5BBE

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

Preview Lab → · Contrast checker → · Palette generator →

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