#2F356B#2F356B

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

Color values

HEX#2F356B
RGBrgb(47, 53, 107)
HSLhsl(234, 39%, 30%)
HSVhsv(234, 56%, 42%)
CMYKcmyk(56.1%, 50.5%, 0%, 58%)
CIE-LABlab(24.36, 14.61, -32.43)
CIE-LCHlch(24.36, 35.57, 294.24°)
OKLaboklab(35.35% 0.0094 -0.0924)
OKLCHoklch(35.35% 0.093 275.8)
XYZxyz(5.0984, 4.2117, 14.4514)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F356B #6B652F
analogous
#2F536B #2F356B #472F6B
triadic
#2F356B #6B2F35 #356B2F
tetradic
#2F356B #6B2F53 #6B652F #2F6B47
square
#2F356B #6B2F53 #6B652F #2F6B47
split-complementary
#2F356B #6B472F #536B2F
monochromatic
#0A0B16 #1C2040 #2F356B #424A96 #5D66B8

Accessibility & contrast

On white

11.40
#2F356B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F356B
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F356B#FFFFFF#000000##FFFFFF
##2F356B1.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3C6D
Deuteranopia (green-blind)
#15386A
Tritanopia (blue-blind)
#13414B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2f356b;
/* rgb */ color: rgb(47, 53, 107);
/* oklch */ color: oklch(35.4% 0.093 275.8);
Tailwind
colors: {
  custom: {
    50: '#6d6c96',
    500: '#2f356b',
    950: '#000000',
  },
}
SCSS
$custom: #2f356b;
$custom-light: #6d6c96;
$custom-dark: #000000;
JSON
{
  "hex": "#2f356b",
  "rgb": {
    "r": 47,
    "g": 53,
    "b": 107
  },
  "hsl": {
    "h": 234,
    "s": 38.961,
    "l": 30.196
  },
  "oklch": {
    "l": 0.35352,
    "c": 0.09288,
    "h": 275.8
  },
  "luminance": 0.04212
}

Semantic roles & 50–950 ramp

primary
#2F356B
secondary
#9C9659
accent
#C359CF
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060D
muted
#7A7A7E

Preview Lab

Preview with #2F356B

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

Preview Lab → · Contrast checker → · Palette generator →

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