#2F5AAF#2F5AAF

#2F5AAF is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.4% C 0.144 H 262.2°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#2F5AAF
RGBrgb(47, 90, 175)
HSLhsl(220, 58%, 44%)
HSVhsv(220, 73%, 69%)
CMYKcmyk(73.1%, 48.6%, 0%, 31.4%)
CIE-LABlab(39.60, 15.05, -49.74)
CIE-LCHlch(39.60, 51.97, 286.84°)
OKLaboklab(48.43% -0.0194 -0.1428)
OKLCHoklch(48.43% 0.144 262.2)
XYZxyz(12.5636, 11.0105, 42.0122)
Luminance0.1101 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5AAF #AF842F
analogous
#2F9AAF #2F5AAF #442FAF
triadic
#2F5AAF #AF2F5A #5AAF2F
tetradic
#2F5AAF #AF2F9A #AF842F #2FAF44
square
#2F5AAF #AF2F9A #AF842F #2FAF44
split-complementary
#2F5AAF #AF442F #9AAF2F
monochromatic
#15284F #22417F #2F5AAF #4C78CF #7C9DDC

Accessibility & contrast

On white

6.56
#2F5AAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#2F5AAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F5AAF
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5AAF#FFFFFF#000000##FFFFFF
##2F5AAF1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B64B2
Deuteranopia (green-blind)
#0258AD
Tritanopia (blue-blind)
#006E7C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2f5aaf;
/* rgb */ color: rgb(47, 90, 175);
/* oklch */ color: oklch(48.4% 0.144 262.2);
Tailwind
colors: {
  custom: {
    50: '#7888c7',
    500: '#2f5aaf',
    950: '#000000',
  },
}
SCSS
$custom: #2f5aaf;
$custom-light: #7888c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5aaf",
  "rgb": {
    "r": 47,
    "g": 90,
    "b": 175
  },
  "hsl": {
    "h": 219.844,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.48434,
    "c": 0.14409,
    "h": 262.2
  },
  "luminance": 0.11012
}

Semantic roles & 50–950 ramp

primary
#2F5AAF
secondary
#C4AA75
accent
#AD47E1
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2F5AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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