#2F3566#2F3566

#2F3566 is a dark, moderate blue. Relative luminance 0.041; OKLCH L 35.0% C 0.085 H 275.8°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#2F3566
RGBrgb(47, 53, 102)
HSLhsl(233, 37%, 29%)
HSVhsv(233, 54%, 40%)
CMYKcmyk(53.9%, 48%, 0%, 60%)
CIE-LABlab(24.03, 12.82, -29.73)
CIE-LCHlch(24.03, 32.38, 293.32°)
OKLaboklab(35% 0.0086 -0.0845)
OKLCHoklch(35% 0.085 275.8)
XYZxyz(4.8429, 4.1096, 13.1058)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3566 #66602F
analogous
#2F5166 #2F3566 #452F66
triadic
#2F3566 #662F35 #35662F
tetradic
#2F3566 #662F51 #66602F #2F6645
square
#2F3566 #662F51 #66602F #2F6645
split-complementary
#2F3566 #66452F #51662F
monochromatic
#0A0B15 #1C1F3C #2F3566 #424B90 #5C65B4

Accessibility & contrast

On white

11.53
#2F3566 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#2F3566 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3566
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3566#FFFFFF#000000##FFFFFF
##2F35661.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203B68
Deuteranopia (green-blind)
#1B3765
Tritanopia (blue-blind)
#184048
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2f3566;
/* rgb */ color: rgb(47, 53, 102);
/* oklch */ color: oklch(35.0% 0.085 275.8);
Tailwind
colors: {
  custom: {
    50: '#6c6c92',
    500: '#2f3566',
    950: '#000000',
  },
}
SCSS
$custom: #2f3566;
$custom-light: #6c6c92;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3566",
  "rgb": {
    "r": 47,
    "g": 53,
    "b": 102
  },
  "hsl": {
    "h": 233.455,
    "s": 36.913,
    "l": 29.216
  },
  "oklch": {
    "l": 0.34996,
    "c": 0.08491,
    "h": 275.8
  },
  "luminance": 0.0411
}

Semantic roles & 50–950 ramp

primary
#2F3566
secondary
#989159
accent
#C05BCD
background
#F6F6F9
surface
#ECEBF1
border
#C7C6CB
text
#07060D
muted
#7A7A7E

Preview Lab

Preview with #2F3566

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

Preview Lab → · Contrast checker → · Palette generator →

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