#2F358D#2F358D

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

Color values

HEX#2F358D
RGBrgb(47, 53, 141)
HSLhsl(236, 50%, 37%)
HSVhsv(236, 67%, 55%)
CMYKcmyk(66.7%, 62.4%, 0%, 44.7%)
CIE-LABlab(26.94, 26.97, -49.71)
CIE-LCHlch(26.94, 56.55, 298.48°)
OKLaboklab(38.1% 0.0109 -0.1432)
OKLCHoklch(38.1% 0.144 274.3)
XYZxyz(7.2515, 5.0730, 25.7912)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F358D #8D872F
analogous
#2F648D #2F358D #582F8D
triadic
#2F358D #8D2F35 #358D2F
tetradic
#2F358D #8D2F64 #8D872F #2F8D58
square
#2F358D #8D2F64 #8D872F #2F8D58
split-complementary
#2F358D #8D582F #648D2F
monochromatic
#101231 #20245F #2F358D #3E46BB #6970CD

Accessibility & contrast

On white

10.42
#2F358D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#2F358D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F358D
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F358D#FFFFFF#000000##FFFFFF
##2F358D1.0010.422.0110.42
#FFFFFF10.421.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004490
Deuteranopia (green-blind)
#003C8B
Tritanopia (blue-blind)
#004B5B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2f358d;
/* rgb */ color: rgb(47, 53, 141);
/* oklch */ color: oklch(38.1% 0.144 274.3);
Tailwind
colors: {
  custom: {
    50: '#736caf',
    500: '#2f358d',
    950: '#000000',
  },
}
SCSS
$custom: #2f358d;
$custom-light: #736caf;
$custom-dark: #000000;
JSON
{
  "hex": "#2f358d",
  "rgb": {
    "r": 47,
    "g": 53,
    "b": 141
  },
  "hsl": {
    "h": 236.17,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.381,
    "c": 0.14361,
    "h": 274.3
  },
  "luminance": 0.05074
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F358D

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

Preview Lab → · Contrast checker → · Palette generator →

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