#2F356A#2F356A

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

Color values

HEX#2F356A
RGBrgb(47, 53, 106)
HSLhsl(234, 39%, 30%)
HSVhsv(234, 56%, 42%)
CMYKcmyk(55.7%, 50%, 0%, 58.4%)
CIE-LABlab(24.29, 14.25, -31.90)
CIE-LCHlch(24.29, 34.93, 294.07°)
OKLaboklab(35.28% 0.0093 -0.0908)
OKLCHoklch(35.28% 0.091 275.8)
XYZxyz(5.0461, 4.1908, 14.1759)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F356A #6A642F
analogous
#2F536A #2F356A #462F6A
triadic
#2F356A #6A2F35 #356A2F
tetradic
#2F356A #6A2F53 #6A642F #2F6A46
square
#2F356A #6A2F53 #6A642F #2F6A46
split-complementary
#2F356A #6A462F #536A2F
monochromatic
#090B15 #1C2040 #2F356A #424A94 #5C66B7

Accessibility & contrast

On white

11.42
#2F356A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#2F356A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F356A
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F356A#FFFFFF#000000##FFFFFF
##2F356A1.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3C6C
Deuteranopia (green-blind)
#163769
Tritanopia (blue-blind)
#14414A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2f356a;
/* rgb */ color: rgb(47, 53, 106);
/* oklch */ color: oklch(35.3% 0.091 275.8);
Tailwind
colors: {
  custom: {
    50: '#6c6c95',
    500: '#2f356a',
    950: '#000000',
  },
}
SCSS
$custom: #2f356a;
$custom-light: #6c6c95;
$custom-dark: #000000;
JSON
{
  "hex": "#2f356a",
  "rgb": {
    "r": 47,
    "g": 53,
    "b": 106
  },
  "hsl": {
    "h": 233.898,
    "s": 38.562,
    "l": 30
  },
  "oklch": {
    "l": 0.3528,
    "c": 0.09129,
    "h": 275.8
  },
  "luminance": 0.04191
}

Semantic roles & 50–950 ramp

primary
#2F356A
secondary
#9B9559
accent
#C359CE
background
#F6F6F9
surface
#ECEBF1
border
#C7C6CB
text
#07060D
muted
#7A7A7E

Preview Lab

Preview with #2F356A

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

Preview Lab → · Contrast checker → · Palette generator →

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