#2F428C#2F428C

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

Color values

HEX#2F428C
RGBrgb(47, 66, 140)
HSLhsl(228, 50%, 37%)
HSVhsv(228, 66%, 55%)
CMYKcmyk(66.4%, 52.9%, 0%, 45.1%)
CIE-LABlab(30.38, 17.84, -43.51)
CIE-LCHlch(30.38, 47.02, 292.29°)
OKLaboklab(40.65% -0.0015 -0.1248)
OKLCHoklch(40.65% 0.125 269.3)
XYZxyz(7.8525, 6.3935, 25.6261)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F428C #8C792F
analogous
#2F718C #2F428C #4B2F8C
triadic
#2F428C #8C2F42 #428C2F
tetradic
#2F428C #8C2F71 #8C792F #2F8C4B
square
#2F428C #8C2F71 #8C792F #2F8C4B
split-complementary
#2F428C #8C4B2F #718C2F
monochromatic
#101730 #202C5E #2F428C #3E58BA #697DCD

Accessibility & contrast

On white

9.22
#2F428C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#2F428C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F428C
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F428C#FFFFFF#000000##FFFFFF
##2F428C1.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164C8F
Deuteranopia (green-blind)
#00448A
Tritanopia (blue-blind)
#005360
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2f428c;
/* rgb */ color: rgb(47, 66, 140);
/* oklch */ color: oklch(40.6% 0.125 269.3);
Tailwind
colors: {
  custom: {
    50: '#7276ae',
    500: '#2f428c',
    950: '#000000',
  },
}
SCSS
$custom: #2f428c;
$custom-light: #7276ae;
$custom-dark: #000000;
JSON
{
  "hex": "#2f428c",
  "rgb": {
    "r": 47,
    "g": 66,
    "b": 140
  },
  "hsl": {
    "h": 227.742,
    "s": 49.733,
    "l": 36.667
  },
  "oklch": {
    "l": 0.40649,
    "c": 0.12482,
    "h": 269.3
  },
  "luminance": 0.06394
}

Semantic roles & 50–950 ramp

primary
#2F428C
secondary
#B4A363
accent
#BD4FD9
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #2F428C

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

Preview Lab → · Contrast checker → · Palette generator →

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