#2F5090#2F5090

#2F5090 is a dark, moderate blue. Relative luminance 0.084; OKLCH L 44.0% C 0.112 H 262.2°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#2F5090
RGBrgb(47, 80, 144)
HSLhsl(220, 51%, 37%)
HSVhsv(220, 67%, 56%)
CMYKcmyk(67.4%, 44.4%, 0%, 43.5%)
CIE-LABlab(34.71, 9.93, -39.01)
CIE-LCHlch(34.71, 40.26, 284.29°)
OKLaboklab(44.04% -0.0152 -0.1114)
OKLCHoklch(44.04% 0.112 262.2)
XYZxyz(9.0732, 8.3544, 27.5146)
Luminance0.0835 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5090 #906F2F
analogous
#2F8090 #2F5090 #3F2F90
triadic
#2F5090 #902F50 #50902F
tetradic
#2F5090 #902F80 #906F2F #2F903F
square
#2F5090 #902F80 #906F2F #2F903F
split-complementary
#2F5090 #903F2F #80902F
monochromatic
#111D34 #203662 #2F5090 #3E6ABE #6B8DCF

Accessibility & contrast

On white

7.86
#2F5090 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#2F5090 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5090
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5090#FFFFFF#000000##FFFFFF
##2F50901.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325692
Deuteranopia (green-blind)
#224D8F
Tritanopia (blue-blind)
#005F69
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2f5090;
/* rgb */ color: rgb(47, 80, 144);
/* oklch */ color: oklch(44.0% 0.112 262.2);
Tailwind
colors: {
  custom: {
    50: '#7280b1',
    500: '#2f5090',
    950: '#000000',
  },
}
SCSS
$custom: #2f5090;
$custom-light: #7280b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5090",
  "rgb": {
    "r": 47,
    "g": 80,
    "b": 144
  },
  "hsl": {
    "h": 219.588,
    "s": 50.785,
    "l": 37.451
  },
  "oklch": {
    "l": 0.44039,
    "c": 0.11241,
    "h": 262.2
  },
  "luminance": 0.08355
}

Semantic roles & 50–950 ramp

primary
#2F5090
secondary
#B69A65
accent
#AA4EDA
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2F5090

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

Preview Lab → · Contrast checker → · Palette generator →

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