#2F428F#2F428F

#2F428F is a dark, vivid blue. Relative luminance 0.065; OKLCH L 40.9% C 0.129 H 269.5°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#2F428F
RGBrgb(47, 66, 143)
HSLhsl(228, 51%, 37%)
HSVhsv(228, 67%, 56%)
CMYKcmyk(67.1%, 53.8%, 0%, 43.9%)
CIE-LABlab(30.60, 18.96, -45.01)
CIE-LCHlch(30.60, 48.84, 292.84°)
OKLaboklab(40.88% -0.0012 -0.1292)
OKLCHoklch(40.88% 0.129 269.5)
XYZxyz(8.0767, 6.4832, 26.8070)
Luminance0.0648 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F428F #8F7C2F
analogous
#2F728F #2F428F #4C2F8F
triadic
#2F428F #8F2F42 #428F2F
tetradic
#2F428F #8F2F72 #8F7C2F #2F8F4C
square
#2F428F #8F2F72 #8F7C2F #2F8F4C
split-complementary
#2F428F #8F4C2F #728F2F
monochromatic
#111733 #202D61 #2F428F #3E57BD #6A7ECE

Accessibility & contrast

On white

9.14
#2F428F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#2F428F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F428F
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F428F#FFFFFF#000000##FFFFFF
##2F428F1.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114D92
Deuteranopia (green-blind)
#00448D
Tritanopia (blue-blind)
#005462
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2f428f;
/* rgb */ color: rgb(47, 66, 143);
/* oklch */ color: oklch(40.9% 0.129 269.5);
Tailwind
colors: {
  custom: {
    50: '#7376b0',
    500: '#2f428f',
    950: '#000000',
  },
}
SCSS
$custom: #2f428f;
$custom-light: #7376b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f428f",
  "rgb": {
    "r": 47,
    "g": 66,
    "b": 143
  },
  "hsl": {
    "h": 228.125,
    "s": 50.526,
    "l": 37.255
  },
  "oklch": {
    "l": 0.40881,
    "c": 0.12923,
    "h": 269.5
  },
  "luminance": 0.06484
}

Semantic roles & 50–950 ramp

primary
#2F428F
secondary
#B5A565
accent
#BE4EDA
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2F428F

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

Preview Lab → · Contrast checker → · Palette generator →

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