#2F487A#2F487A

#2F487A is a dark, moderate blue. Relative luminance 0.066; OKLCH L 40.7% C 0.090 H 262.9°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#2F487A
RGBrgb(47, 72, 122)
HSLhsl(220, 44%, 33%)
HSVhsv(220, 61%, 48%)
CMYKcmyk(61.5%, 41%, 0%, 52.2%)
CIE-LABlab(30.98, 7.09, -31.39)
CIE-LCHlch(30.98, 32.18, 282.73°)
OKLaboklab(40.73% -0.011 -0.0891)
OKLCHoklch(40.73% 0.09 262.9)
XYZxyz(7.0013, 6.6436, 19.3220)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F487A #7A612F
analogous
#2F6D7A #2F487A #3B2F7A
triadic
#2F487A #7A2F48 #487A2F
tetradic
#2F487A #7A2F6D #7A612F #2F7A3B
square
#2F487A #7A2F6D #7A612F #2F7A3B
split-complementary
#2F487A #7A3B2F #6D7A2F
monochromatic
#0D1422 #1E2E4E #2F487A #4062A6 #6182C2

Accessibility & contrast

On white

9.02
#2F487A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#2F487A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F487A
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F487A#FFFFFF#000000##FFFFFF
##2F487A1.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334D7C
Deuteranopia (green-blind)
#294679
Tritanopia (blue-blind)
#00535B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2f487a;
/* rgb */ color: rgb(47, 72, 122);
/* oklch */ color: oklch(40.7% 0.090 262.9);
Tailwind
colors: {
  custom: {
    50: '#6e7aa1',
    500: '#2f487a',
    950: '#000000',
  },
}
SCSS
$custom: #2f487a;
$custom-light: #6e7aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f487a",
  "rgb": {
    "r": 47,
    "g": 72,
    "b": 122
  },
  "hsl": {
    "h": 220,
    "s": 44.379,
    "l": 33.137
  },
  "oklch": {
    "l": 0.4073,
    "c": 0.0898,
    "h": 262.9
  },
  "luminance": 0.06644
}

Semantic roles & 50–950 ramp

primary
#2F487A
secondary
#A98F5C
accent
#A954D4
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#08090F
muted
#7B7B7E

Preview Lab

Preview with #2F487A

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

Preview Lab → · Contrast checker → · Palette generator →

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