#2F437D#2F437D

#2F437D is a dark, moderate blue. Relative luminance 0.061; OKLCH L 39.8% C 0.101 H 267.4°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#2F437D
RGBrgb(47, 67, 125)
HSLhsl(225, 45%, 34%)
HSVhsv(225, 62%, 49%)
CMYKcmyk(62.4%, 46.4%, 0%, 51%)
CIE-LABlab(29.66, 11.57, -35.37)
CIE-LCHlch(29.66, 37.21, 288.11°)
OKLaboklab(39.77% -0.0046 -0.1008)
OKLCHoklch(39.77% 0.101 267.4)
XYZxyz(6.8799, 6.0987, 20.2127)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F437D #7D692F
analogous
#2F6A7D #2F437D #422F7D
triadic
#2F437D #7D2F43 #437D2F
tetradic
#2F437D #7D2F6A #7D692F #2F7D42
square
#2F437D #7D2F6A #7D692F #2F7D42
split-complementary
#2F437D #7D422F #6A7D2F
monochromatic
#0E1324 #1E2B51 #2F437D #405BA9 #627BC4

Accessibility & contrast

On white

9.46
#2F437D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#2F437D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F437D
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F437D#FFFFFF#000000##FFFFFF
##2F437D1.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284A7F
Deuteranopia (green-blind)
#1D437C
Tritanopia (blue-blind)
#00505A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2f437d;
/* rgb */ color: rgb(47, 67, 125);
/* oklch */ color: oklch(39.8% 0.101 267.4);
Tailwind
colors: {
  custom: {
    50: '#6f76a3',
    500: '#2f437d',
    950: '#000000',
  },
}
SCSS
$custom: #2f437d;
$custom-light: #6f76a3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f437d",
  "rgb": {
    "r": 47,
    "g": 67,
    "b": 125
  },
  "hsl": {
    "h": 224.615,
    "s": 45.349,
    "l": 33.725
  },
  "oklch": {
    "l": 0.39772,
    "c": 0.10095,
    "h": 267.4
  },
  "luminance": 0.06099
}

Semantic roles & 50–950 ramp

primary
#2F437D
secondary
#AB975D
accent
#B453D5
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #2F437D

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

Preview Lab → · Contrast checker → · Palette generator →

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