#2F355B#2F355B

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

Color values

HEX#2F355B
RGBrgb(47, 53, 91)
HSLhsl(232, 32%, 27%)
HSVhsv(232, 48%, 36%)
CMYKcmyk(48.4%, 41.8%, 0%, 64.3%)
CIE-LABlab(23.36, 8.97, -23.63)
CIE-LCHlch(23.36, 25.27, 290.80°)
OKLaboklab(34.26% 0.0064 -0.0666)
OKLCHoklch(34.26% 0.067 275.5)
XYZxyz(4.3331, 3.9057, 10.4210)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F355B #5B552F
analogous
#2F4B5B #2F355B #3F2F5B
triadic
#2F355B #5B2F35 #355B2F
tetradic
#2F355B #5B2F4B #5B552F #2F5B3F
square
#2F355B #5B2F4B #5B552F #2F5B3F
split-complementary
#2F355B #5B3F2F #4B5B2F
monochromatic
#0A0C14 #1A1D33 #2F355B #444D83 #5A65AA

Accessibility & contrast

On white

11.79
#2F355B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F355B
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F355B#FFFFFF#000000##FFFFFF
##2F355B1.0011.791.7811.79
#FFFFFF11.791.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273A5C
Deuteranopia (green-blind)
#24365A
Tritanopia (blue-blind)
#203D43
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2f355b;
/* rgb */ color: rgb(47, 53, 91);
/* oklch */ color: oklch(34.3% 0.067 275.5);
Tailwind
colors: {
  custom: {
    50: '#6a6c89',
    500: '#2f355b',
    950: '#000000',
  },
}
SCSS
$custom: #2f355b;
$custom-light: #6a6c89;
$custom-dark: #000000;
JSON
{
  "hex": "#2f355b",
  "rgb": {
    "r": 47,
    "g": 53,
    "b": 91
  },
  "hsl": {
    "h": 231.818,
    "s": 31.884,
    "l": 27.059
  },
  "oklch": {
    "l": 0.34262,
    "c": 0.06692,
    "h": 275.5
  },
  "luminance": 0.03906
}

Semantic roles & 50–950 ramp

primary
#2F355B
secondary
#8D8659
accent
#BA60C8
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#07060B
muted
#7A7A7C

Preview Lab

Preview with #2F355B

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

Preview Lab → · Contrast checker → · Palette generator →

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