#2F4495#2F4495

#2F4495 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.8% C 0.135 H 268.9°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#2F4495
RGBrgb(47, 68, 149)
HSLhsl(228, 52%, 38%)
HSVhsv(228, 68%, 58%)
CMYKcmyk(68.5%, 54.4%, 0%, 41.6%)
CIE-LABlab(31.60, 19.86, -47.07)
CIE-LCHlch(31.60, 51.08, 292.87°)
OKLaboklab(41.77% -0.0026 -0.1352)
OKLCHoklch(41.77% 0.135 268.9)
XYZxyz(8.6624, 6.9077, 29.3048)
Luminance0.0691 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4495 #95802F
analogous
#2F7795 #2F4495 #4D2F95
triadic
#2F4495 #952F44 #44952F
tetradic
#2F4495 #952F77 #95802F #2F954D
square
#2F4495 #952F77 #95802F #2F954D
split-complementary
#2F4495 #954D2F #77952F
monochromatic
#121A38 #202F66 #2F4495 #3F5AC2 #6D82D1

Accessibility & contrast

On white

8.82
#2F4495 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#2F4495 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4495
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4495#FFFFFF#000000##FFFFFF
##2F44951.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C4F98
Deuteranopia (green-blind)
#004693
Tritanopia (blue-blind)
#005765
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2f4495;
/* rgb */ color: rgb(47, 68, 149);
/* oklch */ color: oklch(41.8% 0.135 268.9);
Tailwind
colors: {
  custom: {
    50: '#7477b5',
    500: '#2f4495',
    950: '#000000',
  },
}
SCSS
$custom: #2f4495;
$custom-light: #7477b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4495",
  "rgb": {
    "r": 47,
    "g": 68,
    "b": 149
  },
  "hsl": {
    "h": 227.647,
    "s": 52.041,
    "l": 38.431
  },
  "oklch": {
    "l": 0.41771,
    "c": 0.13527,
    "h": 268.9
  },
  "luminance": 0.06909
}

Semantic roles & 50–950 ramp

primary
#2F4495
secondary
#B8A867
accent
#BE4CDB
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2F4495

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

Preview Lab → · Contrast checker → · Palette generator →

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