#2F437F#2F437F

#2F437F is a dark, moderate blue. Relative luminance 0.062; OKLCH L 39.9% C 0.104 H 267.7°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#2F437F
RGBrgb(47, 67, 127)
HSLhsl(225, 46%, 34%)
HSVhsv(225, 63%, 50%)
CMYKcmyk(63%, 47.2%, 0%, 50.2%)
CIE-LABlab(29.79, 12.31, -36.41)
CIE-LCHlch(29.79, 38.43, 288.68°)
OKLaboklab(39.91% -0.0042 -0.1039)
OKLCHoklch(39.91% 0.104 267.7)
XYZxyz(7.0089, 6.1504, 20.8923)
Luminance0.0615 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F437F #7F6B2F
analogous
#2F6B7F #2F437F #432F7F
triadic
#2F437F #7F2F43 #437F2F
tetradic
#2F437F #7F2F6B #7F6B2F #2F7F43
square
#2F437F #7F2F6B #7F6B2F #2F7F43
split-complementary
#2F437F #7F432F #6B7F2F
monochromatic
#0E1426 #1E2B52 #2F437F #405BAC #637CC5

Accessibility & contrast

On white

9.42
#2F437F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#2F437F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F437F
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F437F#FFFFFF#000000##FFFFFF
##2F437F1.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274A81
Deuteranopia (green-blind)
#1A437E
Tritanopia (blue-blind)
#00515B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2f437f;
/* rgb */ color: rgb(47, 67, 127);
/* oklch */ color: oklch(39.9% 0.104 267.7);
Tailwind
colors: {
  custom: {
    50: '#7076a4',
    500: '#2f437f',
    950: '#000000',
  },
}
SCSS
$custom: #2f437f;
$custom-light: #7076a4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f437f",
  "rgb": {
    "r": 47,
    "g": 67,
    "b": 127
  },
  "hsl": {
    "h": 225,
    "s": 45.977,
    "l": 34.118
  },
  "oklch": {
    "l": 0.39912,
    "c": 0.10401,
    "h": 267.7
  },
  "luminance": 0.06151
}

Semantic roles & 50–950 ramp

primary
#2F437F
secondary
#AC995E
accent
#B552D6
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #2F437F

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

Preview Lab → · Contrast checker → · Palette generator →

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