#2F5396#2F5396

#2F5396 is a mid, moderate blue. Relative luminance 0.090; OKLCH L 45.1% C 0.117 H 261.6°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#2F5396
RGBrgb(47, 83, 150)
HSLhsl(219, 52%, 39%)
HSVhsv(219, 69%, 59%)
CMYKcmyk(68.7%, 44.7%, 0%, 41.2%)
CIE-LABlab(35.97, 10.20, -40.64)
CIE-LCHlch(35.97, 41.90, 284.10°)
OKLaboklab(45.13% -0.0171 -0.1161)
OKLCHoklch(45.13% 0.117 261.6)
XYZxyz(9.7686, 8.9919, 30.0690)
Luminance0.0899 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5396 #96722F
analogous
#2F8696 #2F5396 #3E2F96
triadic
#2F5396 #962F53 #53962F
tetradic
#2F5396 #962F86 #96722F #2F963E
square
#2F5396 #962F86 #96722F #2F963E
split-complementary
#2F5396 #963E2F #86962F
monochromatic
#121F39 #203967 #2F5396 #3F6DC3 #6E91D2

Accessibility & contrast

On white

7.50
#2F5396 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#2F5396 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5396
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5396#FFFFFF#000000##FFFFFF
##2F53961.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335A99
Deuteranopia (green-blind)
#215095
Tritanopia (blue-blind)
#00626D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2f5396;
/* rgb */ color: rgb(47, 83, 150);
/* oklch */ color: oklch(45.1% 0.117 261.6);
Tailwind
colors: {
  custom: {
    50: '#7382b5',
    500: '#2f5396',
    950: '#000000',
  },
}
SCSS
$custom: #2f5396;
$custom-light: #7382b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5396",
  "rgb": {
    "r": 47,
    "g": 83,
    "b": 150
  },
  "hsl": {
    "h": 219.029,
    "s": 52.284,
    "l": 38.627
  },
  "oklch": {
    "l": 0.45129,
    "c": 0.11736,
    "h": 261.6
  },
  "luminance": 0.08993
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F5396

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

Preview Lab → · Contrast checker → · Palette generator →

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