#2F3E9A#2F3E9A

#2F3E9A is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.0% C 0.150 H 271.1°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#2F3E9A
RGBrgb(47, 62, 154)
HSLhsl(232, 53%, 39%)
HSVhsv(232, 69%, 60%)
CMYKcmyk(69.5%, 59.7%, 0%, 39.6%)
CIE-LABlab(30.36, 25.75, -52.12)
CIE-LCHlch(30.36, 58.14, 296.29°)
OKLaboklab(40.96% 0.0029 -0.1502)
OKLCHoklch(40.96% 0.15 271.1)
XYZxyz(8.7257, 6.3818, 31.3376)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3E9A #9A8B2F
analogous
#2F749A #2F3E9A #562F9A
triadic
#2F3E9A #9A2F3E #3E9A2F
tetradic
#2F3E9A #9A2F74 #9A8B2F #2F9A56
square
#2F3E9A #9A2F74 #9A8B2F #2F9A56
split-complementary
#2F3E9A #9A562F #749A2F
monochromatic
#12183C #212B6B #2F3E9A #4154C5 #707ED3

Accessibility & contrast

On white

9.22
#2F3E9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#2F3E9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3E9A
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3E9A#FFFFFF#000000##FFFFFF
##2F3E9A1.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9D
Deuteranopia (green-blind)
#004398
Tritanopia (blue-blind)
#005566
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2f3e9a;
/* rgb */ color: rgb(47, 62, 154);
/* oklch */ color: oklch(41.0% 0.150 271.1);
Tailwind
colors: {
  custom: {
    50: '#7573b9',
    500: '#2f3e9a',
    950: '#000000',
  },
}
SCSS
$custom: #2f3e9a;
$custom-light: #7573b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3e9a",
  "rgb": {
    "r": 47,
    "g": 62,
    "b": 154
  },
  "hsl": {
    "h": 231.589,
    "s": 53.234,
    "l": 39.412
  },
  "oklch": {
    "l": 0.40964,
    "c": 0.15023,
    "h": 271.1
  },
  "luminance": 0.06383
}

Semantic roles & 50–950 ramp

primary
#2F3E9A
secondary
#BBB06A
accent
#C84BDD
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2F3E9A

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

Preview Lab → · Contrast checker → · Palette generator →

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