#2F4897#2F4897

#2F4897 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.8% C 0.133 H 267.3°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#2F4897
RGBrgb(47, 72, 151)
HSLhsl(226, 53%, 39%)
HSVhsv(226, 69%, 59%)
CMYKcmyk(68.9%, 52.3%, 0%, 40.8%)
CIE-LABlab(32.86, 17.92, -46.24)
CIE-LCHlch(32.86, 49.59, 291.18°)
OKLaboklab(42.77% -0.0062 -0.1328)
OKLCHoklch(42.77% 0.133 267.3)
XYZxyz(9.0736, 7.4726, 30.2363)
Luminance0.0747 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4897 #977E2F
analogous
#2F7C97 #2F4897 #4A2F97
triadic
#2F4897 #972F48 #48972F
tetradic
#2F4897 #972F7C #977E2F #2F974A
square
#2F4897 #972F7C #977E2F #2F974A
split-complementary
#2F4897 #974A2F #7C972F
monochromatic
#121B3A #203268 #2F4897 #405FC3 #6E86D2

Accessibility & contrast

On white

8.42
#2F4897 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#2F4897 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4897
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4897#FFFFFF#000000##FFFFFF
##2F48971.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18529A
Deuteranopia (green-blind)
#004995
Tritanopia (blue-blind)
#005B68
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2f4897;
/* rgb */ color: rgb(47, 72, 151);
/* oklch */ color: oklch(42.8% 0.133 267.3);
Tailwind
colors: {
  custom: {
    50: '#747ab6',
    500: '#2f4897',
    950: '#000000',
  },
}
SCSS
$custom: #2f4897;
$custom-light: #747ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4897",
  "rgb": {
    "r": 47,
    "g": 72,
    "b": 151
  },
  "hsl": {
    "h": 225.577,
    "s": 52.525,
    "l": 38.824
  },
  "oklch": {
    "l": 0.42773,
    "c": 0.13291,
    "h": 267.3
  },
  "luminance": 0.07473
}

Semantic roles & 50–950 ramp

primary
#2F4897
secondary
#B9A668
accent
#B94CDC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2F4897

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

Preview Lab → · Contrast checker → · Palette generator →

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