#2F5ABE#2F5ABE

#2F5ABE is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.5% C 0.165 H 263.9°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#2F5ABE
RGBrgb(47, 90, 190)
HSLhsl(222, 60%, 46%)
HSVhsv(222, 75%, 75%)
CMYKcmyk(75.3%, 52.6%, 0%, 25.5%)
CIE-LABlab(40.63, 20.73, -56.88)
CIE-LCHlch(40.63, 60.54, 290.02°)
OKLaboklab(49.55% -0.0176 -0.1638)
OKLCHoklch(49.55% 0.165 263.9)
XYZxyz(14.1194, 11.6328, 50.2064)
Luminance0.1163 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5ABE #BE932F
analogous
#2FA2BE #2F5ABE #4C2FBE
triadic
#2F5ABE #BE2F5A #5ABE2F
tetradic
#2F5ABE #BE2FA2 #BE932F #2FBE4C
square
#2F5ABE #BE2FA2 #BE932F #2FBE4C
split-complementary
#2F5ABE #BE4C2F #A2BE2F
monochromatic
#172C5C #23438D #2F5ABE #557CD5 #86A2E1

Accessibility & contrast

On white

6.31
#2F5ABE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2F5ABE
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5ABE#FFFFFF#000000##FFFFFF
##2F5ABE1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f5abe;
/* rgb */ color: rgb(47, 90, 190);
/* oklch */ color: oklch(49.5% 0.165 263.9);
Tailwind
colors: {
  custom: {
    50: '#7c88d2',
    500: '#2f5abe',
    950: '#000000',
  },
}
SCSS
$custom: #2f5abe;
$custom-light: #7c88d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5abe",
  "rgb": {
    "r": 47,
    "g": 90,
    "b": 190
  },
  "hsl": {
    "h": 221.958,
    "s": 60.338,
    "l": 46.471
  },
  "oklch": {
    "l": 0.49546,
    "c": 0.16471,
    "h": 263.9
  },
  "luminance": 0.11634
}

Semantic roles & 50–950 ramp

primary
#2F5ABE
secondary
#CBB47E
accent
#B444E3
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2F5ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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