#2F5190#2F5190

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

Color values

HEX#2F5190
RGBrgb(47, 81, 144)
HSLhsl(219, 51%, 37%)
HSVhsv(219, 67%, 56%)
CMYKcmyk(67.4%, 43.8%, 0%, 43.5%)
CIE-LABlab(35.01, 9.27, -38.54)
CIE-LCHlch(35.01, 39.64, 283.53°)
OKLaboklab(44.27% -0.0162 -0.11)
OKLCHoklch(44.27% 0.111 261.6)
XYZxyz(9.1470, 8.5019, 27.5391)
Luminance0.0850 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5190 #906E2F
analogous
#2F8190 #2F5190 #3E2F90
triadic
#2F5190 #902F51 #51902F
tetradic
#2F5190 #902F81 #906E2F #2F903E
square
#2F5190 #902F81 #906E2F #2F903E
split-complementary
#2F5190 #903E2F #81902F
monochromatic
#111D34 #203762 #2F5190 #3E6BBE #6B8ECF

Accessibility & contrast

On white

7.78
#2F5190 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F5190
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5190#FFFFFF#000000##FFFFFF
##2F51901.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345792
Deuteranopia (green-blind)
#244E8F
Tritanopia (blue-blind)
#005F69
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2f5190;
/* rgb */ color: rgb(47, 81, 144);
/* oklch */ color: oklch(44.3% 0.111 261.6);
Tailwind
colors: {
  custom: {
    50: '#7281b1',
    500: '#2f5190',
    950: '#000000',
  },
}
SCSS
$custom: #2f5190;
$custom-light: #7281b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5190",
  "rgb": {
    "r": 47,
    "g": 81,
    "b": 144
  },
  "hsl": {
    "h": 218.969,
    "s": 50.785,
    "l": 37.451
  },
  "oklch": {
    "l": 0.44268,
    "c": 0.11116,
    "h": 261.6
  },
  "luminance": 0.08503
}

Semantic roles & 50–950 ramp

primary
#2F5190
secondary
#B69965
accent
#A94EDA
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #2F5190

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

Preview Lab → · Contrast checker → · Palette generator →

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