#2F5094#2F5094

#2F5094 is a dark, moderate blue. Relative luminance 0.085; OKLCH L 44.3% C 0.118 H 263.0°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#2F5094
RGBrgb(47, 80, 148)
HSLhsl(220, 52%, 38%)
HSVhsv(220, 68%, 58%)
CMYKcmyk(68.2%, 45.9%, 0%, 42%)
CIE-LABlab(34.96, 11.44, -41.04)
CIE-LCHlch(34.96, 42.61, 285.57°)
OKLaboklab(44.31% -0.0144 -0.1173)
OKLCHoklch(44.31% 0.118 263)
XYZxyz(9.3844, 8.4789, 29.1533)
Luminance0.0848 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5094 #94732F
analogous
#2F8294 #2F5094 #402F94
triadic
#2F5094 #942F50 #50942F
tetradic
#2F5094 #942F82 #94732F #2F9440
square
#2F5094 #942F82 #94732F #2F9440
split-complementary
#2F5094 #94402F #82942F
monochromatic
#111E37 #203766 #2F5094 #3E69C2 #6D8DD1

Accessibility & contrast

On white

7.79
#2F5094 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#2F5094 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5094
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5094#FFFFFF#000000##FFFFFF
##2F50941.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5797
Deuteranopia (green-blind)
#1D4E93
Tritanopia (blue-blind)
#00606B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2f5094;
/* rgb */ color: rgb(47, 80, 148);
/* oklch */ color: oklch(44.3% 0.118 263.0);
Tailwind
colors: {
  custom: {
    50: '#7380b4',
    500: '#2f5094',
    950: '#000000',
  },
}
SCSS
$custom: #2f5094;
$custom-light: #7380b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5094",
  "rgb": {
    "r": 47,
    "g": 80,
    "b": 148
  },
  "hsl": {
    "h": 220.396,
    "s": 51.795,
    "l": 38.235
  },
  "oklch": {
    "l": 0.44313,
    "c": 0.11822,
    "h": 263
  },
  "luminance": 0.0848
}

Semantic roles & 50–950 ramp

primary
#2F5094
secondary
#B89D67
accent
#AD4DDB
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2F5094

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

Preview Lab → · Contrast checker → · Palette generator →

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