#2F5ABF#2F5ABF

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

Color values

HEX#2F5ABF
RGBrgb(47, 90, 191)
HSLhsl(222, 61%, 47%)
HSVhsv(222, 75%, 75%)
CMYKcmyk(75.4%, 52.9%, 0%, 25.1%)
CIE-LABlab(40.70, 21.10, -57.35)
CIE-LCHlch(40.70, 61.11, 290.20°)
OKLaboklab(49.62% -0.0175 -0.1651)
OKLCHoklch(49.62% 0.166 263.9)
XYZxyz(14.2291, 11.6767, 50.7840)
Luminance0.1168 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5ABF #BF942F
analogous
#2FA2BF #2F5ABF #4C2FBF
triadic
#2F5ABF #BF2F5A #5ABF2F
tetradic
#2F5ABF #BF2FA2 #BF942F #2FBF4C
square
#2F5ABF #BF2FA2 #BF942F #2FBF4C
split-complementary
#2F5ABF #BF4C2F #A2BF2F
monochromatic
#172C5D #23438E #2F5ABF #567CD5 #87A2E1

Accessibility & contrast

On white

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

On black

3.34
#2F5ABF on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2F5ABF#FFFFFF#000000##FFFFFF
##2F5ABF1.006.303.346.30
#FFFFFF6.301.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1067C3
Deuteranopia (green-blind)
#005ABD
Tritanopia (blue-blind)
#007284
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2f5abf;
/* rgb */ color: rgb(47, 90, 191);
/* oklch */ color: oklch(49.6% 0.166 263.9);
Tailwind
colors: {
  custom: {
    50: '#7c88d3',
    500: '#2f5abf',
    950: '#000000',
  },
}
SCSS
$custom: #2f5abf;
$custom-light: #7c88d3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5abf",
  "rgb": {
    "r": 47,
    "g": 90,
    "b": 191
  },
  "hsl": {
    "h": 222.083,
    "s": 60.504,
    "l": 46.667
  },
  "oklch": {
    "l": 0.49622,
    "c": 0.16607,
    "h": 263.9
  },
  "luminance": 0.11678
}

Semantic roles & 50–950 ramp

primary
#2F5ABF
secondary
#CBB47F
accent
#B444E4
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2F5ABF

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

Preview Lab → · Contrast checker → · Palette generator →

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