#2F415E#2F415E

#2F415E is a dark, muted blue. Relative luminance 0.052; OKLCH L 37.4% C 0.055 H 259.7°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#2F415E
RGBrgb(47, 65, 94)
HSLhsl(217, 33%, 28%)
HSVhsv(217, 50%, 37%)
CMYKcmyk(50%, 30.9%, 0%, 63.1%)
CIE-LABlab(27.28, 1.83, -19.43)
CIE-LCHlch(27.28, 19.52, 275.38°)
OKLaboklab(37.35% -0.0099 -0.0544)
OKLCHoklch(37.35% 0.055 259.7)
XYZxyz(5.0823, 5.1928, 11.3220)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F415E #5E4C2F
analogous
#2F585E #2F415E #342F5E
triadic
#2F415E #5E2F41 #415E2F
tetradic
#2F415E #5E2F58 #5E4C2F #2F5E34
square
#2F415E #5E2F58 #5E4C2F #2F5E34
split-complementary
#2F415E #5E342F #585E2F
monochromatic
#0A0E14 #1B2535 #2F415E #435D87 #5B7AAD

Accessibility & contrast

On white

10.30
#2F415E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#2F415E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F415E
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F415E#FFFFFF#000000##FFFFFF
##2F415E1.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36435F
Deuteranopia (green-blind)
#313E5D
Tritanopia (blue-blind)
#1C474B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2f415e;
/* rgb */ color: rgb(47, 65, 94);
/* oklch */ color: oklch(37.4% 0.055 259.7);
Tailwind
colors: {
  custom: {
    50: '#6a758b',
    500: '#2f415e',
    950: '#000000',
  },
}
SCSS
$custom: #2f415e;
$custom-light: #6a758b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f415e",
  "rgb": {
    "r": 47,
    "g": 65,
    "b": 94
  },
  "hsl": {
    "h": 217.021,
    "s": 33.333,
    "l": 27.647
  },
  "oklch": {
    "l": 0.37352,
    "c": 0.05529,
    "h": 259.7
  },
  "luminance": 0.05193
}

Semantic roles & 50–950 ramp

primary
#2F415E
secondary
#907B59
accent
#A05EC9
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#07080C
muted
#7A7B7D

Preview Lab

Preview with #2F415E

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

Preview Lab → · Contrast checker → · Palette generator →

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