#2F378F#2F378F

#2F378F is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.7% C 0.144 H 273.6°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#2F378F
RGBrgb(47, 55, 143)
HSLhsl(235, 51%, 37%)
HSVhsv(235, 67%, 56%)
CMYKcmyk(67.1%, 61.5%, 0%, 43.9%)
CIE-LABlab(27.63, 26.37, -49.83)
CIE-LCHlch(27.63, 56.38, 297.89°)
OKLaboklab(38.66% 0.0091 -0.1435)
OKLCHoklch(38.66% 0.144 273.6)
XYZxyz(7.4948, 5.3192, 26.6130)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F378F #8F872F
analogous
#2F678F #2F378F #572F8F
triadic
#2F378F #8F2F37 #378F2F
tetradic
#2F378F #8F2F67 #8F872F #2F8F57
square
#2F378F #8F2F67 #8F872F #2F8F57
split-complementary
#2F378F #8F572F #678F2F
monochromatic
#111433 #202561 #2F378F #3E49BD #6A73CE

Accessibility & contrast

On white

10.17
#2F378F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#2F378F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F378F
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F378F#FFFFFF#000000##FFFFFF
##2F378F1.0010.172.0610.17
#FFFFFF10.171.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004692
Deuteranopia (green-blind)
#003D8D
Tritanopia (blue-blind)
#004D5D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2f378f;
/* rgb */ color: rgb(47, 55, 143);
/* oklch */ color: oklch(38.7% 0.144 273.6);
Tailwind
colors: {
  custom: {
    50: '#746db1',
    500: '#2f378f',
    950: '#000000',
  },
}
SCSS
$custom: #2f378f;
$custom-light: #746db1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f378f",
  "rgb": {
    "r": 47,
    "g": 55,
    "b": 143
  },
  "hsl": {
    "h": 235,
    "s": 50.526,
    "l": 37.255
  },
  "oklch": {
    "l": 0.38657,
    "c": 0.14383,
    "h": 273.6
  },
  "luminance": 0.0532
}

Semantic roles & 50–950 ramp

primary
#2F378F
secondary
#B5AF65
accent
#CE4EDA
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2F378F

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

Preview Lab → · Contrast checker → · Palette generator →

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