#2F5892#2F5892

#2F5892 is a mid, moderate blue. Relative luminance 0.097; OKLCH L 46.0% C 0.106 H 257.3°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#2F5892
RGBrgb(47, 88, 146)
HSLhsl(215, 51%, 38%)
HSVhsv(215, 68%, 57%)
CMYKcmyk(67.8%, 39.7%, 0%, 42.7%)
CIE-LABlab(37.22, 5.44, -36.22)
CIE-LCHlch(37.22, 36.63, 278.54°)
OKLaboklab(46.02% -0.0231 -0.1031)
OKLCHoklch(46.02% 0.106 257.3)
XYZxyz(9.8485, 9.6581, 28.5337)
Luminance0.0966 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5892 #92692F
analogous
#2F8992 #2F5892 #382F92
triadic
#2F5892 #922F58 #58922F
tetradic
#2F5892 #922F89 #92692F #2F9238
square
#2F5892 #922F89 #92692F #2F9238
split-complementary
#2F5892 #92382F #89922F
monochromatic
#112035 #203C64 #2F5892 #3E74C0 #6C95D0

Accessibility & contrast

On white

7.16
#2F5892 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#2F5892 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5892
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5892#FFFFFF#000000##FFFFFF
##2F58921.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5D94
Deuteranopia (green-blind)
#2F5391
Tritanopia (blue-blind)
#00656E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2f5892;
/* rgb */ color: rgb(47, 88, 146);
/* oklch */ color: oklch(46.0% 0.106 257.3);
Tailwind
colors: {
  custom: {
    50: '#7386b2',
    500: '#2f5892',
    950: '#000000',
  },
}
SCSS
$custom: #2f5892;
$custom-light: #7386b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5892",
  "rgb": {
    "r": 47,
    "g": 88,
    "b": 146
  },
  "hsl": {
    "h": 215.152,
    "s": 51.295,
    "l": 37.843
  },
  "oklch": {
    "l": 0.46022,
    "c": 0.10565,
    "h": 257.3
  },
  "luminance": 0.09659
}

Semantic roles & 50–950 ramp

primary
#2F5892
secondary
#B79566
accent
#A04DDB
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2F5892

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

Preview Lab → · Contrast checker → · Palette generator →

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