#2F5296#2F5296

#2F5296 is a dark, moderate blue. Relative luminance 0.088; OKLCH L 44.9% C 0.119 H 262.2°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#2F5296
RGBrgb(47, 82, 150)
HSLhsl(220, 52%, 39%)
HSVhsv(220, 69%, 59%)
CMYKcmyk(68.7%, 45.3%, 0%, 41.2%)
CIE-LABlab(35.67, 10.87, -41.11)
CIE-LCHlch(35.67, 42.52, 284.80°)
OKLaboklab(44.9% -0.0161 -0.1175)
OKLCHoklch(44.9% 0.119 262.2)
XYZxyz(9.6927, 8.8400, 30.0437)
Luminance0.0884 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5296 #96732F
analogous
#2F8596 #2F5296 #402F96
triadic
#2F5296 #962F52 #52962F
tetradic
#2F5296 #962F85 #96732F #2F9640
square
#2F5296 #962F85 #96732F #2F9640
split-complementary
#2F5296 #96402F #85962F
monochromatic
#121F39 #203967 #2F5296 #3F6CC3 #6E90D2

Accessibility & contrast

On white

7.59
#2F5296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#2F5296 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5296
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5296#FFFFFF#000000##FFFFFF
##2F52961.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315999
Deuteranopia (green-blind)
#1F4F95
Tritanopia (blue-blind)
#00626C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2f5296;
/* rgb */ color: rgb(47, 82, 150);
/* oklch */ color: oklch(44.9% 0.119 262.2);
Tailwind
colors: {
  custom: {
    50: '#7382b5',
    500: '#2f5296',
    950: '#000000',
  },
}
SCSS
$custom: #2f5296;
$custom-light: #7382b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5296",
  "rgb": {
    "r": 47,
    "g": 82,
    "b": 150
  },
  "hsl": {
    "h": 219.612,
    "s": 52.284,
    "l": 38.627
  },
  "oklch": {
    "l": 0.44902,
    "c": 0.11861,
    "h": 262.2
  },
  "luminance": 0.08841
}

Semantic roles & 50–950 ramp

primary
#2F5296
secondary
#B99D68
accent
#AB4CDC
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2F5296

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

Preview Lab → · Contrast checker → · Palette generator →

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