#2F5592#2F5592

#2F5592 is a mid, moderate blue. Relative luminance 0.092; OKLCH L 45.3% C 0.109 H 259.5°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#2F5592
RGBrgb(47, 85, 146)
HSLhsl(217, 51%, 38%)
HSVhsv(217, 68%, 57%)
CMYKcmyk(67.8%, 41.8%, 0%, 42.7%)
CIE-LABlab(36.32, 7.39, -37.66)
CIE-LCHlch(36.32, 38.38, 281.11°)
OKLaboklab(45.32% -0.02 -0.1073)
OKLCHoklch(45.32% 0.109 259.5)
XYZxyz(9.6072, 9.1757, 28.4533)
Luminance0.0918 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5592 #926C2F
analogous
#2F8692 #2F5592 #3B2F92
triadic
#2F5592 #922F55 #55922F
tetradic
#2F5592 #922F86 #926C2F #2F923B
square
#2F5592 #922F86 #926C2F #2F923B
split-complementary
#2F5592 #923B2F #86922F
monochromatic
#111F35 #203A64 #2F5592 #3E70C0 #6C92D0

Accessibility & contrast

On white

7.41
#2F5592 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#2F5592 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5592
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5592#FFFFFF#000000##FFFFFF
##2F55921.007.412.847.41
#FFFFFF7.411.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395A94
Deuteranopia (green-blind)
#2A5191
Tritanopia (blue-blind)
#00636C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2f5592;
/* rgb */ color: rgb(47, 85, 146);
/* oklch */ color: oklch(45.3% 0.109 259.5);
Tailwind
colors: {
  custom: {
    50: '#7384b2',
    500: '#2f5592',
    950: '#000000',
  },
}
SCSS
$custom: #2f5592;
$custom-light: #7384b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5592",
  "rgb": {
    "r": 47,
    "g": 85,
    "b": 146
  },
  "hsl": {
    "h": 216.97,
    "s": 51.295,
    "l": 37.843
  },
  "oklch": {
    "l": 0.45322,
    "c": 0.10917,
    "h": 259.5
  },
  "luminance": 0.09177
}

Semantic roles & 50–950 ramp

primary
#2F5592
secondary
#B79866
accent
#A44DDB
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2F5592

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

Preview Lab → · Contrast checker → · Palette generator →

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