#2F50AF#2F50AF

#2F50AF is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.3% C 0.157 H 266.0°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#2F50AF
RGBrgb(47, 80, 175)
HSLhsl(225, 58%, 44%)
HSVhsv(225, 73%, 69%)
CMYKcmyk(73.1%, 54.3%, 0%, 31.4%)
CIE-LABlab(36.81, 21.63, -54.25)
CIE-LCHlch(36.81, 58.40, 291.74°)
OKLaboklab(46.31% -0.011 -0.1562)
OKLCHoklch(46.31% 0.157 266)
XYZxyz(11.7761, 9.4356, 41.7497)
Luminance0.0944 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F50AF #AF8E2F
analogous
#2F90AF #2F50AF #4E2FAF
triadic
#2F50AF #AF2F50 #50AF2F
tetradic
#2F50AF #AF2F90 #AF8E2F #2FAF4E
square
#2F50AF #AF2F90 #AF8E2F #2FAF4E
split-complementary
#2F50AF #AF4E2F #90AF2F
monochromatic
#15244F #223A7F #2F50AF #4C6ECF #7C95DC

Accessibility & contrast

On white

7.27
#2F50AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#2F50AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F50AF
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F50AF#FFFFFF#000000##FFFFFF
##2F50AF1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#035DB2
Deuteranopia (green-blind)
#0051AD
Tritanopia (blue-blind)
#006777
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2f50af;
/* rgb */ color: rgb(47, 80, 175);
/* oklch */ color: oklch(46.3% 0.157 266.0);
Tailwind
colors: {
  custom: {
    50: '#7980c8',
    500: '#2f50af',
    950: '#000000',
  },
}
SCSS
$custom: #2f50af;
$custom-light: #7980c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f50af",
  "rgb": {
    "r": 47,
    "g": 80,
    "b": 175
  },
  "hsl": {
    "h": 224.531,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.46312,
    "c": 0.15658,
    "h": 266
  },
  "luminance": 0.09437
}

Semantic roles & 50–950 ramp

primary
#2F50AF
secondary
#C4B075
accent
#B947E1
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2F50AF

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

Preview Lab → · Contrast checker → · Palette generator →

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