#2F355D#2F355D

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

Color values

HEX#2F355D
RGBrgb(47, 53, 93)
HSLhsl(232, 33%, 27%)
HSVhsv(232, 49%, 36%)
CMYKcmyk(49.5%, 43%, 0%, 63.5%)
CIE-LABlab(23.47, 9.66, -24.75)
CIE-LCHlch(23.47, 26.57, 291.33°)
OKLaboklab(34.39% 0.0069 -0.0699)
OKLCHoklch(34.39% 0.07 275.6)
XYZxyz(4.4206, 3.9406, 10.8815)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F355D #5D572F
analogous
#2F4C5D #2F355D #402F5D
triadic
#2F355D #5D2F35 #355D2F
tetradic
#2F355D #5D2F4C #5D572F #2F5D40
square
#2F355D #5D2F4C #5D572F #2F5D40
split-complementary
#2F355D #5D402F #4C5D2F
monochromatic
#0A0C14 #1A1E34 #2F355D #444C86 #5B65AC

Accessibility & contrast

On white

11.74
#2F355D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#2F355D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F355D
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F355D#FFFFFF#000000##FFFFFF
##2F355D1.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#263A5F
Deuteranopia (green-blind)
#22365C
Tritanopia (blue-blind)
#1F3D44
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2f355d;
/* rgb */ color: rgb(47, 53, 93);
/* oklch */ color: oklch(34.4% 0.070 275.6);
Tailwind
colors: {
  custom: {
    50: '#6a6c8b',
    500: '#2f355d',
    950: '#000000',
  },
}
SCSS
$custom: #2f355d;
$custom-light: #6a6c8b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f355d",
  "rgb": {
    "r": 47,
    "g": 53,
    "b": 93
  },
  "hsl": {
    "h": 232.174,
    "s": 32.857,
    "l": 27.451
  },
  "oklch": {
    "l": 0.3439,
    "c": 0.07024,
    "h": 275.6
  },
  "luminance": 0.03941
}

Semantic roles & 50–950 ramp

primary
#2F355D
secondary
#8F8859
accent
#BB5FC9
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#07060C
muted
#7A7A7D

Preview Lab

Preview with #2F355D

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

Preview Lab → · Contrast checker → · Palette generator →

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