#2F328B#2F328B

#2F328B is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.4% C 0.145 H 275.4°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#2F328B
RGBrgb(47, 50, 139)
HSLhsl(238, 49%, 36%)
HSVhsv(238, 66%, 55%)
CMYKcmyk(66.2%, 64%, 0%, 45.5%)
CIE-LABlab(26.01, 28.23, -49.99)
CIE-LCHlch(26.01, 57.41, 299.46°)
OKLaboklab(37.36% 0.0136 -0.1441)
OKLCHoklch(37.36% 0.145 275.4)
XYZxyz(6.9716, 4.7490, 24.9704)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F328B #8B882F
analogous
#2F608B #2F328B #5A2F8B
triadic
#2F328B #8B2F32 #328B2F
tetradic
#2F328B #8B2F60 #8B882F #2F8B5A
square
#2F328B #8B2F60 #8B882F #2F8B5A
split-complementary
#2F328B #8B5A2F #608B2F
monochromatic
#101130 #20225D #2F328B #3E42B9 #686CCC

Accessibility & contrast

On white

10.77
#2F328B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#2F328B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F328B
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F328B#FFFFFF#000000##FFFFFF
##2F328B1.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428E
Deuteranopia (green-blind)
#003A89
Tritanopia (blue-blind)
#004859
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2f328b;
/* rgb */ color: rgb(47, 50, 139);
/* oklch */ color: oklch(37.4% 0.145 275.4);
Tailwind
colors: {
  custom: {
    50: '#736aae',
    500: '#2f328b',
    950: '#000000',
  },
}
SCSS
$custom: #2f328b;
$custom-light: #736aae;
$custom-dark: #000000;
JSON
{
  "hex": "#2f328b",
  "rgb": {
    "r": 47,
    "g": 50,
    "b": 139
  },
  "hsl": {
    "h": 238.043,
    "s": 49.462,
    "l": 36.471
  },
  "oklch": {
    "l": 0.3736,
    "c": 0.1447,
    "h": 275.4
  },
  "luminance": 0.0475
}

Semantic roles & 50–950 ramp

primary
#2F328B
secondary
#B3B063
accent
#D44FD9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2F328B

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

Preview Lab → · Contrast checker → · Palette generator →

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