#2F5093#2F5093

#2F5093 is a dark, moderate blue. Relative luminance 0.084; OKLCH L 44.2% C 0.117 H 262.8°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#2F5093
RGBrgb(47, 80, 147)
HSLhsl(220, 52%, 38%)
HSVhsv(220, 68%, 58%)
CMYKcmyk(68%, 45.6%, 0%, 42.4%)
CIE-LABlab(34.90, 11.06, -40.54)
CIE-LCHlch(34.90, 42.02, 285.26°)
OKLaboklab(44.24% -0.0146 -0.1159)
OKLCHoklch(44.24% 0.117 262.8)
XYZxyz(9.3056, 8.4473, 28.7382)
Luminance0.0845 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5093 #93722F
analogous
#2F8293 #2F5093 #402F93
triadic
#2F5093 #932F50 #50932F
tetradic
#2F5093 #932F82 #93722F #2F9340
square
#2F5093 #932F82 #93722F #2F9340
split-complementary
#2F5093 #93402F #82932F
monochromatic
#111E36 #203765 #2F5093 #3E69C1 #6C8DD0

Accessibility & contrast

On white

7.81
#2F5093 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#2F5093 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5093
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5093#FFFFFF#000000##FFFFFF
##2F50931.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305796
Deuteranopia (green-blind)
#1E4E92
Tritanopia (blue-blind)
#005F6A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2f5093;
/* rgb */ color: rgb(47, 80, 147);
/* oklch */ color: oklch(44.2% 0.117 262.8);
Tailwind
colors: {
  custom: {
    50: '#7380b3',
    500: '#2f5093',
    950: '#000000',
  },
}
SCSS
$custom: #2f5093;
$custom-light: #7380b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5093",
  "rgb": {
    "r": 47,
    "g": 80,
    "b": 147
  },
  "hsl": {
    "h": 220.2,
    "s": 51.546,
    "l": 38.039
  },
  "oklch": {
    "l": 0.44244,
    "c": 0.11678,
    "h": 262.8
  },
  "luminance": 0.08448
}

Semantic roles & 50–950 ramp

primary
#2F5093
secondary
#B79D66
accent
#AC4DDB
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2F5093

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

Preview Lab → · Contrast checker → · Palette generator →

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