#2F327A#2F327A

#2F327A is a dark, vivid blue. Relative luminance 0.043; OKLCH L 35.9% C 0.120 H 276.7°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#2F327A
RGBrgb(47, 50, 122)
HSLhsl(238, 44%, 33%)
HSVhsv(238, 61%, 48%)
CMYKcmyk(61.5%, 59%, 0%, 52.2%)
CIE-LABlab(24.61, 22.09, -41.61)
CIE-LCHlch(24.61, 47.11, 297.96°)
OKLaboklab(35.89% 0.014 -0.1194)
OKLCHoklch(35.89% 0.12 276.7)
XYZxyz(5.8246, 4.2903, 18.9297)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F327A #7A772F
analogous
#2F577A #2F327A #512F7A
triadic
#2F327A #7A2F32 #327A2F
tetradic
#2F327A #7A2F57 #7A772F #2F7A51
square
#2F327A #7A2F57 #7A772F #2F7A51
split-complementary
#2F327A #7A512F #577A2F
monochromatic
#0D0E22 #1E204E #2F327A #4044A6 #6165C2

Accessibility & contrast

On white

11.30
#2F327A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F327A
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F327A#FFFFFF#000000##FFFFFF
##2F327A1.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7C
Deuteranopia (green-blind)
#003779
Tritanopia (blue-blind)
#004351
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2f327a;
/* rgb */ color: rgb(47, 50, 122);
/* oklch */ color: oklch(35.9% 0.120 276.7);
Tailwind
colors: {
  custom: {
    50: '#7069a1',
    500: '#2f327a',
    950: '#000000',
  },
}
SCSS
$custom: #2f327a;
$custom-light: #7069a1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f327a",
  "rgb": {
    "r": 47,
    "g": 50,
    "b": 122
  },
  "hsl": {
    "h": 237.6,
    "s": 44.379,
    "l": 33.137
  },
  "oklch": {
    "l": 0.35887,
    "c": 0.12024,
    "h": 276.7
  },
  "luminance": 0.04291
}

Semantic roles & 50–950 ramp

primary
#2F327A
secondary
#A9A65C
accent
#CF54D4
background
#F7F6FA
surface
#EDEBF3
border
#C8C6CD
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2F327A

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

Preview Lab → · Contrast checker → · Palette generator →

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