#2F4194#2F4194

#2F4194 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.1% C 0.138 H 270.0°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#2F4194
RGBrgb(47, 65, 148)
HSLhsl(229, 52%, 38%)
HSVhsv(229, 68%, 58%)
CMYKcmyk(68.2%, 56.1%, 0%, 42%)
CIE-LABlab(30.69, 21.50, -47.92)
CIE-LCHlch(30.69, 52.52, 294.17°)
OKLaboklab(41.07% 0.0001 -0.1378)
OKLCHoklch(41.07% 0.138 270)
XYZxyz(8.4061, 6.5223, 28.8272)
Luminance0.0652 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4194 #94822F
analogous
#2F7394 #2F4194 #4F2F94
triadic
#2F4194 #942F41 #41942F
tetradic
#2F4194 #942F73 #94822F #2F944F
square
#2F4194 #942F73 #94822F #2F944F
split-complementary
#2F4194 #944F2F #73942F
monochromatic
#111837 #202D66 #2F4194 #3E56C2 #6D7FD1

Accessibility & contrast

On white

9.11
#2F4194 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#2F4194 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4194
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4194#FFFFFF#000000##FFFFFF
##2F41941.009.112.309.11
#FFFFFF9.111.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D97
Deuteranopia (green-blind)
#004492
Tritanopia (blue-blind)
#005564
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2f4194;
/* rgb */ color: rgb(47, 65, 148);
/* oklch */ color: oklch(41.1% 0.138 270.0);
Tailwind
colors: {
  custom: {
    50: '#7475b4',
    500: '#2f4194',
    950: '#000000',
  },
}
SCSS
$custom: #2f4194;
$custom-light: #7475b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4194",
  "rgb": {
    "r": 47,
    "g": 65,
    "b": 148
  },
  "hsl": {
    "h": 229.307,
    "s": 51.795,
    "l": 38.235
  },
  "oklch": {
    "l": 0.41069,
    "c": 0.1378,
    "h": 270
  },
  "luminance": 0.06523
}

Semantic roles & 50–950 ramp

primary
#2F4194
secondary
#B8A967
accent
#C24DDB
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2F4194

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

Preview Lab → · Contrast checker → · Palette generator →

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