#2F4482#2F4482

#2F4482 is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.3% C 0.107 H 267.4°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#2F4482
RGBrgb(47, 68, 130)
HSLhsl(225, 47%, 35%)
HSVhsv(225, 64%, 51%)
CMYKcmyk(63.8%, 47.7%, 0%, 49%)
CIE-LABlab(30.28, 12.74, -37.49)
CIE-LCHlch(30.28, 39.60, 288.77°)
OKLaboklab(40.35% -0.0049 -0.1071)
OKLCHoklch(40.35% 0.107 267.4)
XYZxyz(7.2673, 6.3497, 21.9574)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4482 #826D2F
analogous
#2F6E82 #2F4482 #432F82
triadic
#2F4482 #822F44 #44822F
tetradic
#2F4482 #822F6E #826D2F #2F8243
square
#2F4482 #822F6E #826D2F #2F8243
split-complementary
#2F4482 #82432F #6E822F
monochromatic
#0E1528 #1F2C55 #2F4482 #3F5CAF #647DC7

Accessibility & contrast

On white

9.25
#2F4482 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#2F4482 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4482
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4482#FFFFFF#000000##FFFFFF
##2F44821.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264B84
Deuteranopia (green-blind)
#184481
Tritanopia (blue-blind)
#00525C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2f4482;
/* rgb */ color: rgb(47, 68, 130);
/* oklch */ color: oklch(40.3% 0.107 267.4);
Tailwind
colors: {
  custom: {
    50: '#7077a7',
    500: '#2f4482',
    950: '#000000',
  },
}
SCSS
$custom: #2f4482;
$custom-light: #7077a7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4482",
  "rgb": {
    "r": 47,
    "g": 68,
    "b": 130
  },
  "hsl": {
    "h": 224.819,
    "s": 46.893,
    "l": 34.706
  },
  "oklch": {
    "l": 0.40349,
    "c": 0.1072,
    "h": 267.4
  },
  "luminance": 0.0635
}

Semantic roles & 50–950 ramp

primary
#2F4482
secondary
#AE9A5F
accent
#B551D7
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #2F4482

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

Preview Lab → · Contrast checker → · Palette generator →

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