#2F429D#2F429D

#2F429D is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.0% C 0.149 H 269.9°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#2F429D
RGBrgb(47, 66, 157)
HSLhsl(230, 54%, 40%)
HSVhsv(230, 70%, 62%)
CMYKcmyk(70.1%, 58%, 0%, 38.4%)
CIE-LABlab(31.66, 24.19, -51.83)
CIE-LCHlch(31.66, 57.20, 295.02°)
OKLaboklab(42.01% -0.0004 -0.1493)
OKLCHoklch(42.01% 0.149 269.9)
XYZxyz(9.2042, 6.9342, 32.7451)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F429D #9D8A2F
analogous
#2F799D #2F429D #532F9D
triadic
#2F429D #9D2F42 #429D2F
tetradic
#2F429D #9D2F79 #9D8A2F #2F9D53
square
#2F429D #9D2F79 #9D8A2F #2F9D53
split-complementary
#2F429D #9D532F #799D2F
monochromatic
#131A3F #212E6E #2F429D #4359C7 #7283D5

Accessibility & contrast

On white

8.80
#2F429D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#2F429D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F429D
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F429D#FFFFFF#000000##FFFFFF
##2F429D1.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A0
Deuteranopia (green-blind)
#00469B
Tritanopia (blue-blind)
#005869
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2f429d;
/* rgb */ color: rgb(47, 66, 157);
/* oklch */ color: oklch(42.0% 0.149 269.9);
Tailwind
colors: {
  custom: {
    50: '#7676bb',
    500: '#2f429d',
    950: '#000000',
  },
}
SCSS
$custom: #2f429d;
$custom-light: #7676bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2f429d",
  "rgb": {
    "r": 47,
    "g": 66,
    "b": 157
  },
  "hsl": {
    "h": 229.636,
    "s": 53.922,
    "l": 40
  },
  "oklch": {
    "l": 0.42009,
    "c": 0.14929,
    "h": 269.9
  },
  "luminance": 0.06935
}

Semantic roles & 50–950 ramp

primary
#2F429D
secondary
#BCAE6B
accent
#C44BDD
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2F429D

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

Preview Lab → · Contrast checker → · Palette generator →

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