#2F429F#2F429F

#2F429F is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.2% C 0.152 H 269.9°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#2F429F
RGBrgb(47, 66, 159)
HSLhsl(230, 54%, 40%)
HSVhsv(230, 70%, 62%)
CMYKcmyk(70.4%, 58.5%, 0%, 37.6%)
CIE-LABlab(31.81, 24.94, -52.78)
CIE-LCHlch(31.81, 58.38, 295.29°)
OKLaboklab(42.18% -0.0003 -0.1521)
OKLCHoklch(42.18% 0.152 269.9)
XYZxyz(9.3764, 7.0031, 33.6517)
Luminance0.0700 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F429F #9F8C2F
analogous
#2F7A9F #2F429F #542F9F
triadic
#2F429F #9F2F42 #429F2F
tetradic
#2F429F #9F2F7A #9F8C2F #2F9F54
square
#2F429F #9F2F7A #9F8C2F #2F9F54
split-complementary
#2F429F #9F542F #7A9F2F
monochromatic
#131B41 #212E70 #2F429F #445AC8 #7384D6

Accessibility & contrast

On white

8.75
#2F429F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#2F429F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F429F
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F429F#FFFFFF#000000##FFFFFF
##2F429F1.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A2
Deuteranopia (green-blind)
#00469D
Tritanopia (blue-blind)
#00596A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2f429f;
/* rgb */ color: rgb(47, 66, 159);
/* oklch */ color: oklch(42.2% 0.152 269.9);
Tailwind
colors: {
  custom: {
    50: '#7676bc',
    500: '#2f429f',
    950: '#000000',
  },
}
SCSS
$custom: #2f429f;
$custom-light: #7676bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2f429f",
  "rgb": {
    "r": 47,
    "g": 66,
    "b": 159
  },
  "hsl": {
    "h": 229.821,
    "s": 54.369,
    "l": 40.392
  },
  "oklch": {
    "l": 0.42176,
    "c": 0.1521,
    "h": 269.9
  },
  "luminance": 0.07004
}

Semantic roles & 50–950 ramp

primary
#2F429F
secondary
#BDB06D
accent
#C54ADE
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2F429F

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

Preview Lab → · Contrast checker → · Palette generator →

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