#2F5196#2F5196

#2F5196 is a dark, moderate blue. Relative luminance 0.087; OKLCH L 44.7% C 0.120 H 262.8°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#2F5196
RGBrgb(47, 81, 150)
HSLhsl(220, 52%, 39%)
HSVhsv(220, 69%, 59%)
CMYKcmyk(68.7%, 46%, 0%, 41.2%)
CIE-LABlab(35.38, 11.53, -41.58)
CIE-LCHlch(35.38, 43.15, 285.49°)
OKLaboklab(44.68% -0.0151 -0.1189)
OKLCHoklch(44.68% 0.12 262.8)
XYZxyz(9.6178, 8.6903, 30.0188)
Luminance0.0869 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5196 #96742F
analogous
#2F8496 #2F5196 #402F96
triadic
#2F5196 #962F51 #51962F
tetradic
#2F5196 #962F84 #96742F #2F9640
square
#2F5196 #962F84 #96742F #2F9640
split-complementary
#2F5196 #96402F #84962F
monochromatic
#121F39 #203867 #2F5196 #3F6BC3 #6E8FD2

Accessibility & contrast

On white

7.67
#2F5196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#2F5196 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5196
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5196#FFFFFF#000000##FFFFFF
##2F51961.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5899
Deuteranopia (green-blind)
#1C4F95
Tritanopia (blue-blind)
#00616C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2f5196;
/* rgb */ color: rgb(47, 81, 150);
/* oklch */ color: oklch(44.7% 0.120 262.8);
Tailwind
colors: {
  custom: {
    50: '#7481b5',
    500: '#2f5196',
    950: '#000000',
  },
}
SCSS
$custom: #2f5196;
$custom-light: #7481b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5196",
  "rgb": {
    "r": 47,
    "g": 81,
    "b": 150
  },
  "hsl": {
    "h": 220.194,
    "s": 52.284,
    "l": 38.627
  },
  "oklch": {
    "l": 0.44677,
    "c": 0.11986,
    "h": 262.8
  },
  "luminance": 0.08691
}

Semantic roles & 50–950 ramp

primary
#2F5196
secondary
#B99E68
accent
#AC4CDC
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2F5196

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

Preview Lab → · Contrast checker → · Palette generator →

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