#2F5095#2F5095

#2F5095 is a dark, moderate blue. Relative luminance 0.085; OKLCH L 44.4% C 0.120 H 263.2°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#2F5095
RGBrgb(47, 80, 149)
HSLhsl(221, 52%, 38%)
HSVhsv(221, 68%, 58%)
CMYKcmyk(68.5%, 46.3%, 0%, 41.6%)
CIE-LABlab(35.02, 11.81, -41.55)
CIE-LCHlch(35.02, 43.19, 285.87°)
OKLaboklab(44.38% -0.0143 -0.1188)
OKLCHoklch(44.38% 0.12 263.2)
XYZxyz(9.4639, 8.5107, 29.5719)
Luminance0.0851 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5095 #95742F
analogous
#2F8395 #2F5095 #412F95
triadic
#2F5095 #952F50 #50952F
tetradic
#2F5095 #952F83 #95742F #2F9541
square
#2F5095 #952F83 #95742F #2F9541
split-complementary
#2F5095 #95412F #83952F
monochromatic
#121E38 #203766 #2F5095 #3F69C2 #6D8ED1

Accessibility & contrast

On white

7.77
#2F5095 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#2F5095 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5095
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5095#FFFFFF#000000##FFFFFF
##2F50951.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5798
Deuteranopia (green-blind)
#1B4E94
Tritanopia (blue-blind)
#00606B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2f5095;
/* rgb */ color: rgb(47, 80, 149);
/* oklch */ color: oklch(44.4% 0.120 263.2);
Tailwind
colors: {
  custom: {
    50: '#7380b4',
    500: '#2f5095',
    950: '#000000',
  },
}
SCSS
$custom: #2f5095;
$custom-light: #7380b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5095",
  "rgb": {
    "r": 47,
    "g": 80,
    "b": 149
  },
  "hsl": {
    "h": 220.588,
    "s": 52.041,
    "l": 38.431
  },
  "oklch": {
    "l": 0.44382,
    "c": 0.11967,
    "h": 263.2
  },
  "luminance": 0.08512
}

Semantic roles & 50–950 ramp

primary
#2F5095
secondary
#B89E67
accent
#AD4CDB
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2F5095

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

Preview Lab → · Contrast checker → · Palette generator →

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