#2F4D94#2F4D94

#2F4D94 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.6% C 0.122 H 264.6°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#2F4D94
RGBrgb(47, 77, 148)
HSLhsl(222, 52%, 38%)
HSVhsv(222, 68%, 58%)
CMYKcmyk(68.2%, 48%, 0%, 42%)
CIE-LABlab(34.09, 13.43, -42.45)
CIE-LCHlch(34.09, 44.52, 287.56°)
OKLaboklab(43.64% -0.0114 -0.1215)
OKLCHoklch(43.64% 0.122 264.6)
XYZxyz(9.1696, 8.0493, 29.0817)
Luminance0.0805 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4D94 #94762F
analogous
#2F7F94 #2F4D94 #432F94
triadic
#2F4D94 #942F4D #4D942F
tetradic
#2F4D94 #942F7F #94762F #2F9443
square
#2F4D94 #942F7F #94762F #2F9443
split-complementary
#2F4D94 #94432F #7F942F
monochromatic
#111D37 #203566 #2F4D94 #3E65C2 #6D8AD1

Accessibility & contrast

On white

8.05
#2F4D94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#2F4D94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4D94
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4D94#FFFFFF#000000##FFFFFF
##2F4D941.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295597
Deuteranopia (green-blind)
#144C93
Tritanopia (blue-blind)
#005D69
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2f4d94;
/* rgb */ color: rgb(47, 77, 148);
/* oklch */ color: oklch(43.6% 0.122 264.6);
Tailwind
colors: {
  custom: {
    50: '#737eb4',
    500: '#2f4d94',
    950: '#000000',
  },
}
SCSS
$custom: #2f4d94;
$custom-light: #737eb4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4d94",
  "rgb": {
    "r": 47,
    "g": 77,
    "b": 148
  },
  "hsl": {
    "h": 222.178,
    "s": 51.795,
    "l": 38.235
  },
  "oklch": {
    "l": 0.43641,
    "c": 0.12206,
    "h": 264.6
  },
  "luminance": 0.0805
}

Semantic roles & 50–950 ramp

primary
#2F4D94
secondary
#B8A067
accent
#B14DDB
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2F4D94

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

Preview Lab → · Contrast checker → · Palette generator →

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