#2F358B#2F358B

#2F358B is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.9% C 0.141 H 274.5°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#2F358B
RGBrgb(47, 53, 139)
HSLhsl(236, 49%, 36%)
HSVhsv(236, 66%, 55%)
CMYKcmyk(66.2%, 61.9%, 0%, 45.5%)
CIE-LABlab(26.77, 26.24, -48.74)
CIE-LCHlch(26.77, 55.36, 298.30°)
OKLaboklab(37.92% 0.0109 -0.1404)
OKLCHoklch(37.92% 0.141 274.5)
XYZxyz(7.1041, 5.0140, 25.0145)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F358B #8B852F
analogous
#2F638B #2F358B #572F8B
triadic
#2F358B #8B2F35 #358B2F
tetradic
#2F358B #8B2F63 #8B852F #2F8B57
square
#2F358B #8B2F63 #8B852F #2F8B57
split-complementary
#2F358B #8B572F #638B2F
monochromatic
#101230 #20245D #2F358B #3E46B9 #686FCC

Accessibility & contrast

On white

10.48
#2F358B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#2F358B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F358B
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F358B#FFFFFF#000000##FFFFFF
##2F358B1.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438E
Deuteranopia (green-blind)
#003B89
Tritanopia (blue-blind)
#004A5A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2f358b;
/* rgb */ color: rgb(47, 53, 139);
/* oklch */ color: oklch(37.9% 0.141 274.5);
Tailwind
colors: {
  custom: {
    50: '#736cae',
    500: '#2f358b',
    950: '#000000',
  },
}
SCSS
$custom: #2f358b;
$custom-light: #736cae;
$custom-dark: #000000;
JSON
{
  "hex": "#2f358b",
  "rgb": {
    "r": 47,
    "g": 53,
    "b": 139
  },
  "hsl": {
    "h": 236.087,
    "s": 49.462,
    "l": 36.471
  },
  "oklch": {
    "l": 0.37925,
    "c": 0.14078,
    "h": 274.5
  },
  "luminance": 0.05015
}

Semantic roles & 50–950 ramp

primary
#2F358B
secondary
#B3AE63
accent
#D04FD9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #2F358B

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

Preview Lab → · Contrast checker → · Palette generator →

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