#2F5192#2F5192

#2F5192 is a dark, moderate blue. Relative luminance 0.086; OKLCH L 44.4% C 0.114 H 262.0°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#2F5192
RGBrgb(47, 81, 146)
HSLhsl(219, 51%, 38%)
HSVhsv(219, 68%, 57%)
CMYKcmyk(67.8%, 44.5%, 0%, 42.7%)
CIE-LABlab(35.13, 10.02, -39.56)
CIE-LCHlch(35.13, 40.81, 284.22°)
OKLaboklab(44.4% -0.0158 -0.113)
OKLCHoklch(44.4% 0.114 262)
XYZxyz(9.3012, 8.5636, 28.3513)
Luminance0.0857 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5192 #92702F
analogous
#2F8292 #2F5192 #3F2F92
triadic
#2F5192 #922F51 #51922F
tetradic
#2F5192 #922F82 #92702F #2F923F
square
#2F5192 #922F82 #92702F #2F923F
split-complementary
#2F5192 #923F2F #82922F
monochromatic
#111E35 #203764 #2F5192 #3E6BC0 #6C8ED0

Accessibility & contrast

On white

7.74
#2F5192 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#2F5192 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5192
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5192#FFFFFF#000000##FFFFFF
##2F51921.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325894
Deuteranopia (green-blind)
#224E91
Tritanopia (blue-blind)
#00606A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2f5192;
/* rgb */ color: rgb(47, 81, 146);
/* oklch */ color: oklch(44.4% 0.114 262.0);
Tailwind
colors: {
  custom: {
    50: '#7381b2',
    500: '#2f5192',
    950: '#000000',
  },
}
SCSS
$custom: #2f5192;
$custom-light: #7381b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5192",
  "rgb": {
    "r": 47,
    "g": 81,
    "b": 146
  },
  "hsl": {
    "h": 219.394,
    "s": 51.295,
    "l": 37.843
  },
  "oklch": {
    "l": 0.44402,
    "c": 0.11406,
    "h": 262
  },
  "luminance": 0.08565
}

Semantic roles & 50–950 ramp

primary
#2F5192
secondary
#B79B66
accent
#AA4DDB
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2F5192

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

Preview Lab → · Contrast checker → · Palette generator →

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