#2F358F#2F358F

#2F358F is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.3% C 0.146 H 274.2°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#2F358F
RGBrgb(47, 53, 143)
HSLhsl(236, 51%, 37%)
HSVhsv(236, 67%, 56%)
CMYKcmyk(67.1%, 62.9%, 0%, 43.9%)
CIE-LABlab(27.11, 27.70, -50.67)
CIE-LCHlch(27.11, 57.75, 298.66°)
OKLaboklab(38.28% 0.0108 -0.146)
OKLCHoklch(38.28% 0.146 274.2)
XYZxyz(7.4017, 5.1331, 26.5820)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F358F #8F892F
analogous
#2F658F #2F358F #592F8F
triadic
#2F358F #8F2F35 #358F2F
tetradic
#2F358F #8F2F65 #8F892F #2F8F59
square
#2F358F #8F2F65 #8F892F #2F8F59
split-complementary
#2F358F #8F592F #658F2F
monochromatic
#111333 #202461 #2F358F #3E46BD #6A71CE

Accessibility & contrast

On white

10.36
#2F358F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#2F358F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F358F
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F358F#FFFFFF#000000##FFFFFF
##2F358F1.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004492
Deuteranopia (green-blind)
#003C8D
Tritanopia (blue-blind)
#004C5C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2f358f;
/* rgb */ color: rgb(47, 53, 143);
/* oklch */ color: oklch(38.3% 0.146 274.2);
Tailwind
colors: {
  custom: {
    50: '#746cb1',
    500: '#2f358f',
    950: '#000000',
  },
}
SCSS
$custom: #2f358f;
$custom-light: #746cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f358f",
  "rgb": {
    "r": 47,
    "g": 53,
    "b": 143
  },
  "hsl": {
    "h": 236.25,
    "s": 50.526,
    "l": 37.255
  },
  "oklch": {
    "l": 0.38277,
    "c": 0.14643,
    "h": 274.2
  },
  "luminance": 0.05134
}

Semantic roles & 50–950 ramp

primary
#2F358F
secondary
#B5B065
accent
#D14EDA
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2F358F

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

Preview Lab → · Contrast checker → · Palette generator →

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