#2F358E#2F358E

#2F358E is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.2% C 0.145 H 274.3°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#2F358E
RGBrgb(47, 53, 142)
HSLhsl(236, 50%, 37%)
HSVhsv(236, 67%, 56%)
CMYKcmyk(66.9%, 62.7%, 0%, 44.3%)
CIE-LABlab(27.03, 27.33, -50.19)
CIE-LCHlch(27.03, 57.15, 298.57°)
OKLaboklab(38.19% 0.0108 -0.1446)
OKLCHoklch(38.19% 0.145 274.3)
XYZxyz(7.3263, 5.1029, 26.1848)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F358E #8E882F
analogous
#2F648E #2F358E #592F8E
triadic
#2F358E #8E2F35 #358E2F
tetradic
#2F358E #8E2F64 #8E882F #2F8E59
square
#2F358E #8E2F64 #8E882F #2F8E59
split-complementary
#2F358E #8E592F #648E2F
monochromatic
#111332 #202460 #2F358E #3E46BC #6A70CE

Accessibility & contrast

On white

10.39
#2F358E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#2F358E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F358E
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F358E#FFFFFF#000000##FFFFFF
##2F358E1.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004491
Deuteranopia (green-blind)
#003C8C
Tritanopia (blue-blind)
#004B5C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2f358e;
/* rgb */ color: rgb(47, 53, 142);
/* oklch */ color: oklch(38.2% 0.145 274.3);
Tailwind
colors: {
  custom: {
    50: '#746cb0',
    500: '#2f358e',
    950: '#000000',
  },
}
SCSS
$custom: #2f358e;
$custom-light: #746cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f358e",
  "rgb": {
    "r": 47,
    "g": 53,
    "b": 142
  },
  "hsl": {
    "h": 236.211,
    "s": 50.265,
    "l": 37.059
  },
  "oklch": {
    "l": 0.38189,
    "c": 0.14503,
    "h": 274.3
  },
  "luminance": 0.05104
}

Semantic roles & 50–950 ramp

primary
#2F358E
secondary
#B5B064
accent
#D14EDA
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #2F358E

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

Preview Lab → · Contrast checker → · Palette generator →

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