#2F359C#2F359C

#2F359C is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.5% C 0.164 H 273.5°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#2F359C
RGBrgb(47, 53, 156)
HSLhsl(237, 54%, 40%)
HSVhsv(237, 70%, 61%)
CMYKcmyk(69.9%, 66%, 0%, 38.8%)
CIE-LABlab(28.25, 32.38, -56.78)
CIE-LCHlch(28.25, 65.37, 299.70°)
OKLaboklab(39.46% 0.01 -0.164)
OKLCHoklch(39.46% 0.164 273.5)
XYZxyz(8.4441, 5.5500, 32.0723)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F359C #9C962F
analogous
#2F6C9C #2F359C #5F2F9C
triadic
#2F359C #9C2F35 #359C2F
tetradic
#2F359C #9C2F6C #9C962F #2F9C5F
square
#2F359C #9C2F6C #9C962F #2F9C5F
split-complementary
#2F359C #9C5F2F #6C9C2F
monochromatic
#13153E #21256D #2F359C #4249C6 #7177D4

Accessibility & contrast

On white

9.95
#2F359C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#2F359C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F359C
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F359C#FFFFFF#000000##FFFFFF
##2F359C1.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489F
Deuteranopia (green-blind)
#003E9A
Tritanopia (blue-blind)
#005063
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2f359c;
/* rgb */ color: rgb(47, 53, 156);
/* oklch */ color: oklch(39.5% 0.164 273.5);
Tailwind
colors: {
  custom: {
    50: '#776cba',
    500: '#2f359c',
    950: '#000000',
  },
}
SCSS
$custom: #2f359c;
$custom-light: #776cba;
$custom-dark: #000000;
JSON
{
  "hex": "#2f359c",
  "rgb": {
    "r": 47,
    "g": 53,
    "b": 156
  },
  "hsl": {
    "h": 236.697,
    "s": 53.695,
    "l": 39.804
  },
  "oklch": {
    "l": 0.39463,
    "c": 0.16426,
    "h": 273.5
  },
  "luminance": 0.05551
}

Semantic roles & 50–950 ramp

primary
#2F359C
secondary
#BCB76B
accent
#D54BDD
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2F359C

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

Preview Lab → · Contrast checker → · Palette generator →

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