#2F439D#2F439D

#2F439D is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.2% C 0.148 H 269.5°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#2F439D
RGBrgb(47, 67, 157)
HSLhsl(229, 54%, 40%)
HSVhsv(229, 70%, 62%)
CMYKcmyk(70.1%, 57.3%, 0%, 38.4%)
CIE-LABlab(31.93, 23.52, -51.39)
CIE-LCHlch(31.93, 56.52, 294.59°)
OKLaboklab(42.21% -0.0012 -0.148)
OKLCHoklch(42.21% 0.148 269.5)
XYZxyz(9.2632, 7.0521, 32.7648)
Luminance0.0705 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F439D #9D892F
analogous
#2F7A9D #2F439D #522F9D
triadic
#2F439D #9D2F43 #439D2F
tetradic
#2F439D #9D2F7A #9D892F #2F9D52
square
#2F439D #9D2F7A #9D892F #2F9D52
split-complementary
#2F439D #9D522F #7A9D2F
monochromatic
#131B3F #212F6E #2F439D #435BC7 #7284D5

Accessibility & contrast

On white

8.71
#2F439D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#2F439D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F439D
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F439D#FFFFFF#000000##FFFFFF
##2F439D1.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f439d;
/* rgb */ color: rgb(47, 67, 157);
/* oklch */ color: oklch(42.2% 0.148 269.5);
Tailwind
colors: {
  custom: {
    50: '#7676bb',
    500: '#2f439d',
    950: '#000000',
  },
}
SCSS
$custom: #2f439d;
$custom-light: #7676bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2f439d",
  "rgb": {
    "r": 47,
    "g": 67,
    "b": 157
  },
  "hsl": {
    "h": 229.091,
    "s": 53.922,
    "l": 40
  },
  "oklch": {
    "l": 0.4221,
    "c": 0.148,
    "h": 269.5
  },
  "luminance": 0.07053
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F439D

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

Preview Lab → · Contrast checker → · Palette generator →

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