#2F377E#2F377E

#2F377E is a dark, moderate blue. Relative luminance 0.048; OKLCH L 37.2% C 0.119 H 274.2°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#2F377E
RGBrgb(47, 55, 126)
HSLhsl(234, 46%, 34%)
HSVhsv(234, 63%, 49%)
CMYKcmyk(62.7%, 56.3%, 0%, 50.6%)
CIE-LABlab(26.28, 20.14, -41.43)
CIE-LCHlch(26.28, 46.06, 295.92°)
OKLaboklab(37.23% 0.0088 -0.1188)
OKLCHoklch(37.23% 0.119 274.2)
XYZxyz(6.3031, 4.8426, 20.3372)
Luminance0.0484 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F377E #7E762F
analogous
#2F5F7E #2F377E #4F2F7E
triadic
#2F377E #7E2F37 #377E2F
tetradic
#2F377E #7E2F5F #7E762F #2F7E4F
square
#2F377E #7E2F5F #7E762F #2F7E4F
split-complementary
#2F377E #7E4F2F #5F7E2F
monochromatic
#0E1025 #1E2451 #2F377E #404AAB #636DC5

Accessibility & contrast

On white

10.67
#2F377E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#2F377E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F377E
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F377E#FFFFFF#000000##FFFFFF
##2F377E1.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#064280
Deuteranopia (green-blind)
#003B7D
Tritanopia (blue-blind)
#004855
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2f377e;
/* rgb */ color: rgb(47, 55, 126);
/* oklch */ color: oklch(37.2% 0.119 274.2);
Tailwind
colors: {
  custom: {
    50: '#706da4',
    500: '#2f377e',
    950: '#000000',
  },
}
SCSS
$custom: #2f377e;
$custom-light: #706da4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f377e",
  "rgb": {
    "r": 47,
    "g": 55,
    "b": 126
  },
  "hsl": {
    "h": 233.924,
    "s": 45.665,
    "l": 33.922
  },
  "oklch": {
    "l": 0.37233,
    "c": 0.11916,
    "h": 274.2
  },
  "luminance": 0.04843
}

Semantic roles & 50–950 ramp

primary
#2F377E
secondary
#ACA45D
accent
#C852D5
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08070F
muted
#7B7A7F

Preview Lab

Preview with #2F377E

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

Preview Lab → · Contrast checker → · Palette generator →

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