#2F327B#2F327B

#2F327B is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.0% C 0.122 H 276.6°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#2F327B
RGBrgb(47, 50, 123)
HSLhsl(238, 45%, 33%)
HSVhsv(238, 62%, 48%)
CMYKcmyk(61.8%, 59.3%, 0%, 51.8%)
CIE-LABlab(24.69, 22.45, -42.11)
CIE-LCHlch(24.69, 47.73, 298.06°)
OKLaboklab(35.97% 0.014 -0.1209)
OKLCHoklch(35.97% 0.122 276.6)
XYZxyz(5.8869, 4.3152, 19.2577)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F327B #7B782F
analogous
#2F587B #2F327B #522F7B
triadic
#2F327B #7B2F32 #327B2F
tetradic
#2F327B #7B2F58 #7B782F #2F7B52
square
#2F327B #7B2F58 #7B782F #2F7B52
split-complementary
#2F327B #7B522F #587B2F
monochromatic
#0D0E22 #1E204F #2F327B #4044A7 #6265C3

Accessibility & contrast

On white

11.27
#2F327B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2F327B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F327B
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F327B#FFFFFF#000000##FFFFFF
##2F327B1.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7D
Deuteranopia (green-blind)
#00377A
Tritanopia (blue-blind)
#004351
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2f327b;
/* rgb */ color: rgb(47, 50, 123);
/* oklch */ color: oklch(36.0% 0.122 276.6);
Tailwind
colors: {
  custom: {
    50: '#7069a2',
    500: '#2f327b',
    950: '#000000',
  },
}
SCSS
$custom: #2f327b;
$custom-light: #7069a2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f327b",
  "rgb": {
    "r": 47,
    "g": 50,
    "b": 123
  },
  "hsl": {
    "h": 237.632,
    "s": 44.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.35971,
    "c": 0.12172,
    "h": 276.6
  },
  "luminance": 0.04316
}

Semantic roles & 50–950 ramp

primary
#2F327B
secondary
#AAA75C
accent
#CF53D4
background
#F7F6FA
surface
#EDEBF3
border
#C8C6CD
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2F327B

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

Preview Lab → · Contrast checker → · Palette generator →

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