#2F356D#2F356D

#2F356D is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.5% C 0.096 H 275.8°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#2F356D
RGBrgb(47, 53, 109)
HSLhsl(234, 40%, 31%)
HSVhsv(234, 57%, 43%)
CMYKcmyk(56.9%, 51.4%, 0%, 57.3%)
CIE-LABlab(24.49, 15.32, -33.50)
CIE-LCHlch(24.49, 36.84, 294.58°)
OKLaboklab(35.5% 0.0097 -0.0955)
OKLCHoklch(35.5% 0.096 275.8)
XYZxyz(5.2048, 4.2543, 15.0119)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F356D #6D672F
analogous
#2F546D #2F356D #482F6D
triadic
#2F356D #6D2F35 #356D2F
tetradic
#2F356D #6D2F54 #6D672F #2F6D48
square
#2F356D #6D2F54 #6D672F #2F6D48
split-complementary
#2F356D #6D482F #546D2F
monochromatic
#0A0B17 #1D2042 #2F356D #414A98 #5D66B9

Accessibility & contrast

On white

11.35
#2F356D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F356D
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F356D#FFFFFF#000000##FFFFFF
##2F356D1.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3D6F
Deuteranopia (green-blind)
#12386C
Tritanopia (blue-blind)
#11414B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2f356d;
/* rgb */ color: rgb(47, 53, 109);
/* oklch */ color: oklch(35.5% 0.096 275.8);
Tailwind
colors: {
  custom: {
    50: '#6d6c97',
    500: '#2f356d',
    950: '#000000',
  },
}
SCSS
$custom: #2f356d;
$custom-light: #6d6c97;
$custom-dark: #000000;
JSON
{
  "hex": "#2f356d",
  "rgb": {
    "r": 47,
    "g": 53,
    "b": 109
  },
  "hsl": {
    "h": 234.194,
    "s": 39.744,
    "l": 30.588
  },
  "oklch": {
    "l": 0.35498,
    "c": 0.09603,
    "h": 275.8
  },
  "luminance": 0.04255
}

Semantic roles & 50–950 ramp

primary
#2F356D
secondary
#9E9859
accent
#C458D0
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060D
muted
#7A7A7E

Preview Lab

Preview with #2F356D

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

Preview Lab → · Contrast checker → · Palette generator →

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