#2F356C#2F356C

#2F356C is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.4% C 0.094 H 275.8°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#2F356C
RGBrgb(47, 53, 108)
HSLhsl(234, 39%, 30%)
HSVhsv(234, 56%, 42%)
CMYKcmyk(56.5%, 50.9%, 0%, 57.6%)
CIE-LABlab(24.43, 14.96, -32.97)
CIE-LCHlch(24.43, 36.21, 294.41°)
OKLaboklab(35.43% 0.0095 -0.094)
OKLCHoklch(35.43% 0.094 275.8)
XYZxyz(5.1513, 4.2329, 14.7300)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F356C #6C662F
analogous
#2F536C #2F356C #472F6C
triadic
#2F356C #6C2F35 #356C2F
tetradic
#2F356C #6C2F53 #6C662F #2F6C47
square
#2F356C #6C2F53 #6C662F #2F6C47
split-complementary
#2F356C #6C472F #536C2F
monochromatic
#0A0B17 #1C2041 #2F356C #424A97 #5D66B8

Accessibility & contrast

On white

11.37
#2F356C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#2F356C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F356C
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F356C#FFFFFF#000000##FFFFFF
##2F356C1.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3D6E
Deuteranopia (green-blind)
#14386B
Tritanopia (blue-blind)
#12414B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2f356c;
/* rgb */ color: rgb(47, 53, 108);
/* oklch */ color: oklch(35.4% 0.094 275.8);
Tailwind
colors: {
  custom: {
    50: '#6d6c96',
    500: '#2f356c',
    950: '#000000',
  },
}
SCSS
$custom: #2f356c;
$custom-light: #6d6c96;
$custom-dark: #000000;
JSON
{
  "hex": "#2f356c",
  "rgb": {
    "r": 47,
    "g": 53,
    "b": 108
  },
  "hsl": {
    "h": 234.098,
    "s": 39.355,
    "l": 30.392
  },
  "oklch": {
    "l": 0.35425,
    "c": 0.09445,
    "h": 275.8
  },
  "luminance": 0.04233
}

Semantic roles & 50–950 ramp

primary
#2F356C
secondary
#9D9759
accent
#C459CF
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060D
muted
#7A7A7E

Preview Lab

Preview with #2F356C

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

Preview Lab → · Contrast checker → · Palette generator →

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