#2F4497#2F4497

#2F4497 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 41.9% C 0.138 H 269.0°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#2F4497
RGBrgb(47, 68, 151)
HSLhsl(228, 53%, 39%)
HSVhsv(228, 69%, 59%)
CMYKcmyk(68.9%, 55%, 0%, 40.8%)
CIE-LABlab(31.74, 20.61, -48.05)
CIE-LCHlch(31.74, 52.28, 293.21°)
OKLaboklab(41.93% -0.0024 -0.1381)
OKLCHoklch(41.93% 0.138 269)
XYZxyz(8.8234, 6.9721, 30.1529)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4497 #97822F
analogous
#2F7897 #2F4497 #4E2F97
triadic
#2F4497 #972F44 #44972F
tetradic
#2F4497 #972F78 #97822F #2F974E
square
#2F4497 #972F78 #97822F #2F974E
split-complementary
#2F4497 #974E2F #78972F
monochromatic
#121A3A #202F68 #2F4497 #405AC3 #6E83D2

Accessibility & contrast

On white

8.77
#2F4497 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#2F4497 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4497
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4497#FFFFFF#000000##FFFFFF
##2F44971.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06509A
Deuteranopia (green-blind)
#004695
Tritanopia (blue-blind)
#005866
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2f4497;
/* rgb */ color: rgb(47, 68, 151);
/* oklch */ color: oklch(41.9% 0.138 269.0);
Tailwind
colors: {
  custom: {
    50: '#7477b6',
    500: '#2f4497',
    950: '#000000',
  },
}
SCSS
$custom: #2f4497;
$custom-light: #7477b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4497",
  "rgb": {
    "r": 47,
    "g": 68,
    "b": 151
  },
  "hsl": {
    "h": 227.885,
    "s": 52.525,
    "l": 38.824
  },
  "oklch": {
    "l": 0.41929,
    "c": 0.13816,
    "h": 269
  },
  "luminance": 0.06973
}

Semantic roles & 50–950 ramp

primary
#2F4497
secondary
#B9A968
accent
#BF4CDC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2F4497

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

Preview Lab → · Contrast checker → · Palette generator →

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