#2F3BA0#2F3BA0

#2F3BA0 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.9% C 0.162 H 271.9°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#2F3BA0
RGBrgb(47, 59, 160)
HSLhsl(234, 55%, 41%)
HSVhsv(234, 71%, 63%)
CMYKcmyk(70.6%, 63.1%, 0%, 37.3%)
CIE-LABlab(30.08, 29.93, -56.21)
CIE-LCHlch(30.08, 63.68, 298.04°)
OKLaboklab(40.92% 0.0053 -0.1622)
OKLCHoklch(40.92% 0.162 271.9)
XYZxyz(9.0793, 6.2695, 33.9825)
Luminance0.0627 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3BA0 #A0942F
analogous
#2F73A0 #2F3BA0 #5B2FA0
triadic
#2F3BA0 #A02F3B #3BA02F
tetradic
#2F3BA0 #A02F73 #A0942F #2FA05B
square
#2F3BA0 #A02F73 #A0942F #2FA05B
split-complementary
#2F3BA0 #A05B2F #73A02F
monochromatic
#131841 #212A71 #2F3BA0 #4452C8 #737ED6

Accessibility & contrast

On white

9.32
#2F3BA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#2F3BA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3BA0
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3BA0#FFFFFF#000000##FFFFFF
##2F3BA01.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA3
Deuteranopia (green-blind)
#00429E
Tritanopia (blue-blind)
#005568
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2f3ba0;
/* rgb */ color: rgb(47, 59, 160);
/* oklch */ color: oklch(40.9% 0.162 271.9);
Tailwind
colors: {
  custom: {
    50: '#7771bd',
    500: '#2f3ba0',
    950: '#000000',
  },
}
SCSS
$custom: #2f3ba0;
$custom-light: #7771bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3ba0",
  "rgb": {
    "r": 47,
    "g": 59,
    "b": 160
  },
  "hsl": {
    "h": 233.628,
    "s": 54.589,
    "l": 40.588
  },
  "oklch": {
    "l": 0.40917,
    "c": 0.16232,
    "h": 271.9
  },
  "luminance": 0.0627
}

Semantic roles & 50–950 ramp

primary
#2F3BA0
secondary
#BEB56D
accent
#CE4ADE
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2F3BA0

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

Preview Lab → · Contrast checker → · Palette generator →

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