#2F538F#2F538F

#2F538F is a dark, moderate blue. Relative luminance 0.088; OKLCH L 44.7% C 0.107 H 260.0°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#2F538F
RGBrgb(47, 83, 143)
HSLhsl(218, 51%, 37%)
HSVhsv(218, 67%, 56%)
CMYKcmyk(67.1%, 42%, 0%, 43.9%)
CIE-LABlab(35.54, 7.58, -37.07)
CIE-LCHlch(35.54, 37.84, 281.56°)
OKLaboklab(44.66% -0.0185 -0.1056)
OKLCHoklch(44.66% 0.107 260)
XYZxyz(9.2217, 8.7731, 27.1887)
Luminance0.0877 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F538F #8F6B2F
analogous
#2F838F #2F538F #3B2F8F
triadic
#2F538F #8F2F53 #538F2F
tetradic
#2F538F #8F2F83 #8F6B2F #2F8F3B
square
#2F538F #8F2F83 #8F6B2F #2F8F3B
split-complementary
#2F538F #8F3B2F #838F2F
monochromatic
#111E33 #203861 #2F538F #3E6EBD #6A90CE

Accessibility & contrast

On white

7.62
#2F538F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#2F538F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F538F
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F538F#FFFFFF#000000##FFFFFF
##2F538F1.007.622.757.62
#FFFFFF7.621.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385891
Deuteranopia (green-blind)
#294F8E
Tritanopia (blue-blind)
#00616A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2f538f;
/* rgb */ color: rgb(47, 83, 143);
/* oklch */ color: oklch(44.7% 0.107 260.0);
Tailwind
colors: {
  custom: {
    50: '#7282b0',
    500: '#2f538f',
    950: '#000000',
  },
}
SCSS
$custom: #2f538f;
$custom-light: #7282b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f538f",
  "rgb": {
    "r": 47,
    "g": 83,
    "b": 143
  },
  "hsl": {
    "h": 217.5,
    "s": 50.526,
    "l": 37.255
  },
  "oklch": {
    "l": 0.44663,
    "c": 0.10726,
    "h": 260
  },
  "luminance": 0.08774
}

Semantic roles & 50–950 ramp

primary
#2F538F
secondary
#B59765
accent
#A54EDA
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #2F538F

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

Preview Lab → · Contrast checker → · Palette generator →

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