#2F5097#2F5097

#2F5097 is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.5% C 0.123 H 263.5°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#2F5097
RGBrgb(47, 80, 151)
HSLhsl(221, 53%, 39%)
HSVhsv(221, 69%, 59%)
CMYKcmyk(68.9%, 47%, 0%, 40.8%)
CIE-LABlab(35.15, 12.57, -42.55)
CIE-LCHlch(35.15, 44.37, 286.45°)
OKLaboklab(44.52% -0.0139 -0.1218)
OKLCHoklch(44.52% 0.123 263.5)
XYZxyz(9.6249, 8.5751, 30.4201)
Luminance0.0858 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5097 #97762F
analogous
#2F8497 #2F5097 #422F97
triadic
#2F5097 #972F50 #50972F
tetradic
#2F5097 #972F84 #97762F #2F9742
square
#2F5097 #972F84 #97762F #2F9742
split-complementary
#2F5097 #97422F #84972F
monochromatic
#121F3A #203768 #2F5097 #406AC3 #6E8ED2

Accessibility & contrast

On white

7.73
#2F5097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#2F5097 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5097
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5097#FFFFFF#000000##FFFFFF
##2F50971.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C589A
Deuteranopia (green-blind)
#184E96
Tritanopia (blue-blind)
#00606C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2f5097;
/* rgb */ color: rgb(47, 80, 151);
/* oklch */ color: oklch(44.5% 0.123 263.5);
Tailwind
colors: {
  custom: {
    50: '#7480b6',
    500: '#2f5097',
    950: '#000000',
  },
}
SCSS
$custom: #2f5097;
$custom-light: #7480b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5097",
  "rgb": {
    "r": 47,
    "g": 80,
    "b": 151
  },
  "hsl": {
    "h": 220.962,
    "s": 52.525,
    "l": 38.824
  },
  "oklch": {
    "l": 0.44522,
    "c": 0.12257,
    "h": 263.5
  },
  "luminance": 0.08576
}

Semantic roles & 50–950 ramp

primary
#2F5097
secondary
#B9A068
accent
#AE4CDC
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2F5097

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

Preview Lab → · Contrast checker → · Palette generator →

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