#2F4382#2F4382

#2F4382 is a dark, moderate blue. Relative luminance 0.062; OKLCH L 40.1% C 0.109 H 268.0°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#2F4382
RGBrgb(47, 67, 130)
HSLhsl(226, 47%, 35%)
HSVhsv(226, 64%, 51%)
CMYKcmyk(63.8%, 48.5%, 0%, 49%)
CIE-LABlab(29.98, 13.42, -37.96)
CIE-LCHlch(29.98, 40.27, 289.47°)
OKLaboklab(40.13% -0.0038 -0.1085)
OKLCHoklch(40.13% 0.109 268)
XYZxyz(7.2073, 6.2297, 21.9374)
Luminance0.0623 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4382 #826E2F
analogous
#2F6D82 #2F4382 #442F82
triadic
#2F4382 #822F43 #43822F
tetradic
#2F4382 #822F6D #826E2F #2F8244
square
#2F4382 #822F6D #826E2F #2F8244
split-complementary
#2F4382 #82442F #6D822F
monochromatic
#0E1528 #1F2C55 #2F4382 #3F5AAF #647CC7

Accessibility & contrast

On white

9.35
#2F4382 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#2F4382 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4382
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4382#FFFFFF#000000##FFFFFF
##2F43821.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244B84
Deuteranopia (green-blind)
#164381
Tritanopia (blue-blind)
#00515C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2f4382;
/* rgb */ color: rgb(47, 67, 130);
/* oklch */ color: oklch(40.1% 0.109 268.0);
Tailwind
colors: {
  custom: {
    50: '#7076a7',
    500: '#2f4382',
    950: '#000000',
  },
}
SCSS
$custom: #2f4382;
$custom-light: #7076a7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4382",
  "rgb": {
    "r": 47,
    "g": 67,
    "b": 130
  },
  "hsl": {
    "h": 225.542,
    "s": 46.893,
    "l": 34.706
  },
  "oklch": {
    "l": 0.40125,
    "c": 0.10856,
    "h": 268
  },
  "luminance": 0.0623
}

Semantic roles & 50–950 ramp

primary
#2F4382
secondary
#AE9B5F
accent
#B651D7
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #2F4382

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

Preview Lab → · Contrast checker → · Palette generator →

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