#2F5692#2F5692

#2F5692 is a mid, moderate blue. Relative luminance 0.093; OKLCH L 45.6% C 0.108 H 258.8°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#2F5692
RGBrgb(47, 86, 146)
HSLhsl(216, 51%, 38%)
HSVhsv(216, 68%, 57%)
CMYKcmyk(67.8%, 41.1%, 0%, 42.7%)
CIE-LABlab(36.62, 6.74, -37.18)
CIE-LCHlch(36.62, 37.79, 280.27°)
OKLaboklab(45.56% -0.021 -0.1059)
OKLCHoklch(45.56% 0.108 258.8)
XYZxyz(9.6865, 9.3343, 28.4798)
Luminance0.0934 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5692 #926B2F
analogous
#2F8792 #2F5692 #3A2F92
triadic
#2F5692 #922F56 #56922F
tetradic
#2F5692 #922F87 #926B2F #2F923A
square
#2F5692 #922F87 #926B2F #2F923A
split-complementary
#2F5692 #923A2F #87922F
monochromatic
#111F35 #203B64 #2F5692 #3E71C0 #6C93D0

Accessibility & contrast

On white

7.32
#2F5692 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#2F5692 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5692
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5692#FFFFFF#000000##FFFFFF
##2F56921.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5B94
Deuteranopia (green-blind)
#2C5291
Tritanopia (blue-blind)
#00646D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2f5692;
/* rgb */ color: rgb(47, 86, 146);
/* oklch */ color: oklch(45.6% 0.108 258.8);
Tailwind
colors: {
  custom: {
    50: '#7385b2',
    500: '#2f5692',
    950: '#000000',
  },
}
SCSS
$custom: #2f5692;
$custom-light: #7385b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5692",
  "rgb": {
    "r": 47,
    "g": 86,
    "b": 146
  },
  "hsl": {
    "h": 216.364,
    "s": 51.295,
    "l": 37.843
  },
  "oklch": {
    "l": 0.45555,
    "c": 0.10798,
    "h": 258.8
  },
  "luminance": 0.09335
}

Semantic roles & 50–950 ramp

primary
#2F5692
secondary
#B79766
accent
#A34DDB
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2F5692

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

Preview Lab → · Contrast checker → · Palette generator →

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