#2F356F#2F356F

#2F356F is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.6% C 0.099 H 275.7°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#2F356F
RGBrgb(47, 53, 111)
HSLhsl(234, 41%, 31%)
HSVhsv(234, 58%, 44%)
CMYKcmyk(57.7%, 52.3%, 0%, 56.5%)
CIE-LABlab(24.63, 16.04, -34.56)
CIE-LCHlch(24.63, 38.11, 294.90°)
OKLaboklab(35.65% 0.0099 -0.0987)
OKLCHoklch(35.65% 0.099 275.7)
XYZxyz(5.3137, 4.2979, 15.5854)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F356F #6F692F
analogous
#2F556F #2F356F #492F6F
triadic
#2F356F #6F2F35 #356F2F
tetradic
#2F356F #6F2F55 #6F692F #2F6F49
square
#2F356F #6F2F55 #6F692F #2F6F49
split-complementary
#2F356F #6F492F #556F2F
monochromatic
#0B0C19 #1D2044 #2F356F #414A9A #5E66BB

Accessibility & contrast

On white

11.29
#2F356F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2F356F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F356F
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F356F#FFFFFF#000000##FFFFFF
##2F356F1.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183D71
Deuteranopia (green-blind)
#0F386E
Tritanopia (blue-blind)
#0E424C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2f356f;
/* rgb */ color: rgb(47, 53, 111);
/* oklch */ color: oklch(35.6% 0.099 275.7);
Tailwind
colors: {
  custom: {
    50: '#6d6c99',
    500: '#2f356f',
    950: '#000000',
  },
}
SCSS
$custom: #2f356f;
$custom-light: #6d6c99;
$custom-dark: #000000;
JSON
{
  "hex": "#2f356f",
  "rgb": {
    "r": 47,
    "g": 53,
    "b": 111
  },
  "hsl": {
    "h": 234.375,
    "s": 40.506,
    "l": 30.98
  },
  "oklch": {
    "l": 0.35647,
    "c": 0.09915,
    "h": 275.7
  },
  "luminance": 0.04298
}

Semantic roles & 50–950 ramp

primary
#2F356F
secondary
#A09A59
accent
#C557D0
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #2F356F

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

Preview Lab → · Contrast checker → · Palette generator →

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