#2F4488#2F4488

#2F4488 is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.8% C 0.116 H 268.0°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#2F4488
RGBrgb(47, 68, 136)
HSLhsl(226, 49%, 36%)
HSVhsv(226, 65%, 53%)
CMYKcmyk(65.4%, 50%, 0%, 46.7%)
CIE-LABlab(30.68, 14.98, -40.57)
CIE-LCHlch(30.68, 43.25, 290.27°)
OKLaboklab(40.78% -0.004 -0.1161)
OKLCHoklch(40.78% 0.116 268)
XYZxyz(7.6818, 6.5155, 24.1406)
Luminance0.0652 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4488 #88732F
analogous
#2F7088 #2F4488 #462F88
triadic
#2F4488 #882F44 #44882F
tetradic
#2F4488 #882F70 #88732F #2F8846
square
#2F4488 #882F70 #88732F #2F8846
split-complementary
#2F4488 #88462F #70882F
monochromatic
#10172D #1F2D5B #2F4488 #3F5BB5 #677ECA

Accessibility & contrast

On white

9.12
#2F4488 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#2F4488 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4488
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4488#FFFFFF#000000##FFFFFF
##2F44881.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204C8A
Deuteranopia (green-blind)
#0D4487
Tritanopia (blue-blind)
#00545F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2f4488;
/* rgb */ color: rgb(47, 68, 136);
/* oklch */ color: oklch(40.8% 0.116 268.0);
Tailwind
colors: {
  custom: {
    50: '#7177ab',
    500: '#2f4488',
    950: '#000000',
  },
}
SCSS
$custom: #2f4488;
$custom-light: #7177ab;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4488",
  "rgb": {
    "r": 47,
    "g": 68,
    "b": 136
  },
  "hsl": {
    "h": 225.843,
    "s": 48.634,
    "l": 35.882
  },
  "oklch": {
    "l": 0.40782,
    "c": 0.11621,
    "h": 268
  },
  "luminance": 0.06516
}

Semantic roles & 50–950 ramp

primary
#2F4488
secondary
#B19F61
accent
#B850D8
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2F4488

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

Preview Lab → · Contrast checker → · Palette generator →

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