#2F428D#2F428D

#2F428D is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.7% C 0.126 H 269.4°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#2F428D
RGBrgb(47, 66, 141)
HSLhsl(228, 50%, 37%)
HSVhsv(228, 67%, 55%)
CMYKcmyk(66.7%, 53.2%, 0%, 44.7%)
CIE-LABlab(30.46, 18.21, -44.01)
CIE-LCHlch(30.46, 47.63, 292.48°)
OKLaboklab(40.73% -0.0014 -0.1263)
OKLCHoklch(40.73% 0.126 269.4)
XYZxyz(7.9266, 6.4231, 26.0162)
Luminance0.0642 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F428D #8D7A2F
analogous
#2F718D #2F428D #4B2F8D
triadic
#2F428D #8D2F42 #428D2F
tetradic
#2F428D #8D2F71 #8D7A2F #2F8D4B
square
#2F428D #8D2F71 #8D7A2F #2F8D4B
split-complementary
#2F428D #8D4B2F #718D2F
monochromatic
#101731 #202D5F #2F428D #3E57BB #697DCD

Accessibility & contrast

On white

9.19
#2F428D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F428D
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F428D#FFFFFF#000000##FFFFFF
##2F428D1.009.192.289.19
#FFFFFF9.191.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144C90
Deuteranopia (green-blind)
#00448B
Tritanopia (blue-blind)
#005461
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2f428d;
/* rgb */ color: rgb(47, 66, 141);
/* oklch */ color: oklch(40.7% 0.126 269.4);
Tailwind
colors: {
  custom: {
    50: '#7276af',
    500: '#2f428d',
    950: '#000000',
  },
}
SCSS
$custom: #2f428d;
$custom-light: #7276af;
$custom-dark: #000000;
JSON
{
  "hex": "#2f428d",
  "rgb": {
    "r": 47,
    "g": 66,
    "b": 141
  },
  "hsl": {
    "h": 227.872,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.40726,
    "c": 0.1263,
    "h": 269.4
  },
  "luminance": 0.06424
}

Semantic roles & 50–950 ramp

primary
#2F428D
secondary
#B4A464
accent
#BD4EDA
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #2F428D

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

Preview Lab → · Contrast checker → · Palette generator →

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