#2F3E95#2F3E95

#2F3E95 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.5% C 0.143 H 271.1°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#2F3E95
RGBrgb(47, 62, 149)
HSLhsl(231, 52%, 38%)
HSVhsv(231, 68%, 58%)
CMYKcmyk(68.5%, 58.4%, 0%, 41.6%)
CIE-LABlab(29.96, 23.89, -49.72)
CIE-LCHlch(29.96, 55.17, 295.67°)
OKLaboklab(40.54% 0.0029 -0.1431)
OKLCHoklch(40.54% 0.143 271.1)
XYZxyz(8.3179, 6.2187, 29.1899)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3E95 #95862F
analogous
#2F7195 #2F3E95 #532F95
triadic
#2F3E95 #952F3E #3E952F
tetradic
#2F3E95 #952F71 #95862F #2F9553
square
#2F3E95 #952F71 #95862F #2F9553
split-complementary
#2F3E95 #95532F #71952F
monochromatic
#121738 #202B66 #2F3E95 #3F52C2 #6D7CD1

Accessibility & contrast

On white

9.36
#2F3E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#2F3E95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3E95
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3E95#FFFFFF#000000##FFFFFF
##2F3E951.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B98
Deuteranopia (green-blind)
#004293
Tritanopia (blue-blind)
#005363
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2f3e95;
/* rgb */ color: rgb(47, 62, 149);
/* oklch */ color: oklch(40.5% 0.143 271.1);
Tailwind
colors: {
  custom: {
    50: '#7473b5',
    500: '#2f3e95',
    950: '#000000',
  },
}
SCSS
$custom: #2f3e95;
$custom-light: #7473b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3e95",
  "rgb": {
    "r": 47,
    "g": 62,
    "b": 149
  },
  "hsl": {
    "h": 231.176,
    "s": 52.041,
    "l": 38.431
  },
  "oklch": {
    "l": 0.40542,
    "c": 0.14318,
    "h": 271.1
  },
  "luminance": 0.0622
}

Semantic roles & 50–950 ramp

primary
#2F3E95
secondary
#B8AC67
accent
#C64CDB
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2F3E95

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

Preview Lab → · Contrast checker → · Palette generator →

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