#2F5BAE#2F5BAE

#2F5BAE is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.6% C 0.141 H 261.7°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#2F5BAE
RGBrgb(47, 91, 174)
HSLhsl(219, 57%, 43%)
HSVhsv(219, 73%, 68%)
CMYKcmyk(73%, 47.7%, 0%, 31.8%)
CIE-LABlab(39.82, 14.02, -48.80)
CIE-LCHlch(39.82, 50.77, 286.03°)
OKLaboklab(48.58% -0.0205 -0.14)
OKLCHoklch(48.58% 0.141 261.7)
XYZxyz(12.5506, 11.1412, 41.5252)
Luminance0.1114 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5BAE #AE822F
analogous
#2F9AAE #2F5BAE #432FAE
triadic
#2F5BAE #AE2F5B #5BAE2F
tetradic
#2F5BAE #AE2F9A #AE822F #2FAE43
square
#2F5BAE #AE2F9A #AE822F #2FAE43
split-complementary
#2F5BAE #AE432F #9AAE2F
monochromatic
#15294E #22427E #2F5BAE #4C79CF #7C9DDC

Accessibility & contrast

On white

6.50
#2F5BAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#2F5BAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F5BAE
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5BAE#FFFFFF#000000##FFFFFF
##2F5BAE1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E64B1
Deuteranopia (green-blind)
#0D58AC
Tritanopia (blue-blind)
#006F7C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2f5bae;
/* rgb */ color: rgb(47, 91, 174);
/* oklch */ color: oklch(48.6% 0.141 261.7);
Tailwind
colors: {
  custom: {
    50: '#7888c7',
    500: '#2f5bae',
    950: '#000000',
  },
}
SCSS
$custom: #2f5bae;
$custom-light: #7888c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5bae",
  "rgb": {
    "r": 47,
    "g": 91,
    "b": 174
  },
  "hsl": {
    "h": 219.213,
    "s": 57.466,
    "l": 43.333
  },
  "oklch": {
    "l": 0.48581,
    "c": 0.14146,
    "h": 261.7
  },
  "luminance": 0.11143
}

Semantic roles & 50–950 ramp

primary
#2F5BAE
secondary
#C4A975
accent
#AB47E1
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2F5BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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