#2F439F#2F439F

#2F439F is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.4% C 0.151 H 269.6°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#2F439F
RGBrgb(47, 67, 159)
HSLhsl(229, 54%, 40%)
HSVhsv(229, 70%, 62%)
CMYKcmyk(70.4%, 57.9%, 0%, 37.6%)
CIE-LABlab(32.08, 24.27, -52.35)
CIE-LCHlch(32.08, 57.70, 294.87°)
OKLaboklab(42.38% -0.0012 -0.1508)
OKLCHoklch(42.38% 0.151 269.6)
XYZxyz(9.4353, 7.1209, 33.6714)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F439F #9F8B2F
analogous
#2F7B9F #2F439F #532F9F
triadic
#2F439F #9F2F43 #439F2F
tetradic
#2F439F #9F2F7B #9F8B2F #2F9F53
square
#2F439F #9F2F7B #9F8B2F #2F9F53
split-complementary
#2F439F #9F532F #7B9F2F
monochromatic
#131B41 #212F70 #2F439F #445BC8 #7384D6

Accessibility & contrast

On white

8.66
#2F439F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#2F439F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F439F
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F439F#FFFFFF#000000##FFFFFF
##2F439F1.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A2
Deuteranopia (green-blind)
#00479D
Tritanopia (blue-blind)
#005A6A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2f439f;
/* rgb */ color: rgb(47, 67, 159);
/* oklch */ color: oklch(42.4% 0.151 269.6);
Tailwind
colors: {
  custom: {
    50: '#7676bc',
    500: '#2f439f',
    950: '#000000',
  },
}
SCSS
$custom: #2f439f;
$custom-light: #7676bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2f439f",
  "rgb": {
    "r": 47,
    "g": 67,
    "b": 159
  },
  "hsl": {
    "h": 229.286,
    "s": 54.369,
    "l": 40.392
  },
  "oklch": {
    "l": 0.42375,
    "c": 0.15081,
    "h": 269.6
  },
  "luminance": 0.07122
}

Semantic roles & 50–950 ramp

primary
#2F439F
secondary
#BDAF6D
accent
#C34ADE
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2F439F

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

Preview Lab → · Contrast checker → · Palette generator →

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