#2F428B#2F428B

#2F428B is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.6% C 0.123 H 269.3°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#2F428B
RGBrgb(47, 66, 139)
HSLhsl(228, 49%, 36%)
HSVhsv(228, 66%, 55%)
CMYKcmyk(66.2%, 52.5%, 0%, 45.5%)
CIE-LABlab(30.31, 17.46, -43.01)
CIE-LCHlch(30.31, 46.42, 292.10°)
OKLaboklab(40.57% -0.0016 -0.1233)
OKLCHoklch(40.57% 0.123 269.3)
XYZxyz(7.7791, 6.3641, 25.2395)
Luminance0.0636 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F428B #8B782F
analogous
#2F708B #2F428B #4A2F8B
triadic
#2F428B #8B2F42 #428B2F
tetradic
#2F428B #8B2F70 #8B782F #2F8B4A
square
#2F428B #8B2F70 #8B782F #2F8B4A
split-complementary
#2F428B #8B4A2F #708B2F
monochromatic
#101730 #202C5D #2F428B #3E58B9 #687DCC

Accessibility & contrast

On white

9.24
#2F428B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F428B
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F428B#FFFFFF#000000##FFFFFF
##2F428B1.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174C8E
Deuteranopia (green-blind)
#00438A
Tritanopia (blue-blind)
#005360
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2f428b;
/* rgb */ color: rgb(47, 66, 139);
/* oklch */ color: oklch(40.6% 0.123 269.3);
Tailwind
colors: {
  custom: {
    50: '#7276ad',
    500: '#2f428b',
    950: '#000000',
  },
}
SCSS
$custom: #2f428b;
$custom-light: #7276ad;
$custom-dark: #000000;
JSON
{
  "hex": "#2f428b",
  "rgb": {
    "r": 47,
    "g": 66,
    "b": 139
  },
  "hsl": {
    "h": 227.609,
    "s": 49.462,
    "l": 36.471
  },
  "oklch": {
    "l": 0.40572,
    "c": 0.12335,
    "h": 269.3
  },
  "luminance": 0.06365
}

Semantic roles & 50–950 ramp

primary
#2F428B
secondary
#B3A263
accent
#BC4FD9
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #2F428B

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

Preview Lab → · Contrast checker → · Palette generator →

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