#2F439B#2F439B

#2F439B is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.0% C 0.145 H 269.5°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#2F439B
RGBrgb(47, 67, 155)
HSLhsl(229, 53%, 40%)
HSVhsv(229, 70%, 61%)
CMYKcmyk(69.7%, 56.8%, 0%, 39.2%)
CIE-LABlab(31.77, 22.78, -50.43)
CIE-LCHlch(31.77, 55.34, 294.30°)
OKLaboklab(42.05% -0.0013 -0.1452)
OKLCHoklch(42.05% 0.145 269.5)
XYZxyz(9.0938, 6.9843, 31.8729)
Luminance0.0698 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F439B #9B872F
analogous
#2F799B #2F439B #512F9B
triadic
#2F439B #9B2F43 #439B2F
tetradic
#2F439B #9B2F79 #9B872F #2F9B51
square
#2F439B #9B2F79 #9B872F #2F9B51
split-complementary
#2F439B #9B512F #799B2F
monochromatic
#131A3D #212F6C #2F439B #425AC6 #7183D4

Accessibility & contrast

On white

8.76
#2F439B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F439B
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F439B#FFFFFF#000000##FFFFFF
##2F439B1.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509E
Deuteranopia (green-blind)
#004699
Tritanopia (blue-blind)
#005868
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2f439b;
/* rgb */ color: rgb(47, 67, 155);
/* oklch */ color: oklch(42.0% 0.145 269.5);
Tailwind
colors: {
  custom: {
    50: '#7576b9',
    500: '#2f439b',
    950: '#000000',
  },
}
SCSS
$custom: #2f439b;
$custom-light: #7576b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f439b",
  "rgb": {
    "r": 47,
    "g": 67,
    "b": 155
  },
  "hsl": {
    "h": 228.889,
    "s": 53.465,
    "l": 39.608
  },
  "oklch": {
    "l": 0.42046,
    "c": 0.14518,
    "h": 269.5
  },
  "luminance": 0.06985
}

Semantic roles & 50–950 ramp

primary
#2F439B
secondary
#BBAC6A
accent
#C24BDD
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2F439B

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

Preview Lab → · Contrast checker → · Palette generator →

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