#2F4894#2F4894

#2F4894 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.5% C 0.129 H 267.1°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#2F4894
RGBrgb(47, 72, 148)
HSLhsl(225, 52%, 38%)
HSVhsv(225, 68%, 58%)
CMYKcmyk(68.2%, 51.4%, 0%, 42%)
CIE-LABlab(32.65, 16.79, -44.76)
CIE-LCHlch(32.65, 47.80, 290.56°)
OKLaboklab(42.55% -0.0065 -0.1284)
OKLCHoklch(42.55% 0.129 267.1)
XYZxyz(8.8331, 7.3763, 28.9695)
Luminance0.0738 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4894 #947B2F
analogous
#2F7A94 #2F4894 #492F94
triadic
#2F4894 #942F48 #48942F
tetradic
#2F4894 #942F7A #947B2F #2F9449
square
#2F4894 #942F7A #947B2F #2F9449
split-complementary
#2F4894 #94492F #7A942F
monochromatic
#111B37 #203166 #2F4894 #3E5FC2 #6D86D1

Accessibility & contrast

On white

8.48
#2F4894 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#2F4894 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4894
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4894#FFFFFF#000000##FFFFFF
##2F48941.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C5297
Deuteranopia (green-blind)
#004892
Tritanopia (blue-blind)
#005A67
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2f4894;
/* rgb */ color: rgb(47, 72, 148);
/* oklch */ color: oklch(42.5% 0.129 267.1);
Tailwind
colors: {
  custom: {
    50: '#737ab4',
    500: '#2f4894',
    950: '#000000',
  },
}
SCSS
$custom: #2f4894;
$custom-light: #737ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4894",
  "rgb": {
    "r": 47,
    "g": 72,
    "b": 148
  },
  "hsl": {
    "h": 225.149,
    "s": 51.795,
    "l": 38.235
  },
  "oklch": {
    "l": 0.42546,
    "c": 0.12856,
    "h": 267.1
  },
  "luminance": 0.07377
}

Semantic roles & 50–950 ramp

primary
#2F4894
secondary
#B8A467
accent
#B84DDB
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2F4894

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

Preview Lab → · Contrast checker → · Palette generator →

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