#2F355C#2F355C

#2F355C is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.3% C 0.069 H 275.6°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#2F355C
RGBrgb(47, 53, 92)
HSLhsl(232, 32%, 27%)
HSVhsv(232, 49%, 36%)
CMYKcmyk(48.9%, 42.4%, 0%, 63.9%)
CIE-LABlab(23.42, 9.32, -24.19)
CIE-LCHlch(23.42, 25.92, 291.07°)
OKLaboklab(34.33% 0.0067 -0.0683)
OKLCHoklch(34.33% 0.069 275.6)
XYZxyz(4.3766, 3.9230, 10.6497)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F355C #5C562F
analogous
#2F4C5C #2F355C #402F5C
triadic
#2F355C #5C2F35 #355C2F
tetradic
#2F355C #5C2F4C #5C562F #2F5C40
square
#2F355C #5C2F4C #5C562F #2F5C40
split-complementary
#2F355C #5C402F #4C5C2F
monochromatic
#0A0C14 #1A1E33 #2F355C #444C85 #5A65AB

Accessibility & contrast

On white

11.77
#2F355C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#2F355C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F355C
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F355C#FFFFFF#000000##FFFFFF
##2F355C1.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273A5E
Deuteranopia (green-blind)
#23365B
Tritanopia (blue-blind)
#1F3D44
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2f355c;
/* rgb */ color: rgb(47, 53, 92);
/* oklch */ color: oklch(34.3% 0.069 275.6);
Tailwind
colors: {
  custom: {
    50: '#6a6c8a',
    500: '#2f355c',
    950: '#000000',
  },
}
SCSS
$custom: #2f355c;
$custom-light: #6a6c8a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f355c",
  "rgb": {
    "r": 47,
    "g": 53,
    "b": 92
  },
  "hsl": {
    "h": 232,
    "s": 32.374,
    "l": 27.255
  },
  "oklch": {
    "l": 0.34326,
    "c": 0.06858,
    "h": 275.6
  },
  "luminance": 0.03923
}

Semantic roles & 50–950 ramp

primary
#2F355C
secondary
#8E8759
accent
#BA5FC9
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#07060C
muted
#7A7A7D

Preview Lab

Preview with #2F355C

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

Preview Lab → · Contrast checker → · Palette generator →

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