#2F3BB8#2F3BB8

#2F3BB8 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 43.2% C 0.194 H 271.1°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#2F3BB8
RGBrgb(47, 59, 184)
HSLhsl(235, 59%, 45%)
HSVhsv(235, 74%, 72%)
CMYKcmyk(74.5%, 67.9%, 0%, 27.8%)
CIE-LABlab(32.24, 38.54, -67.04)
CIE-LCHlch(32.24, 77.33, 299.90°)
OKLaboklab(43.16% 0.0036 -0.1939)
OKLCHoklch(43.16% 0.194 271.1)
XYZxyz(11.3850, 7.1918, 46.1262)
Luminance0.0719 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3BB8 #B8AC2F
analogous
#2F7FB8 #2F3BB8 #682FB8
triadic
#2F3BB8 #B82F3B #3BB82F
tetradic
#2F3BB8 #B82F7F #B8AC2F #2FB868
square
#2F3BB8 #B82F7F #B8AC2F #2FB868
split-complementary
#2F3BB8 #B8682F #7FB82F
monochromatic
#161C57 #232B87 #2F3BB8 #525DD3 #828ADF

Accessibility & contrast

On white

8.61
#2F3BB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#2F3BB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3BB8
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3BB8#FFFFFF#000000##FFFFFF
##2F3BB81.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BC
Deuteranopia (green-blind)
#0045B6
Tritanopia (blue-blind)
#005D74
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2f3bb8;
/* rgb */ color: rgb(47, 59, 184);
/* oklch */ color: oklch(43.2% 0.194 271.1);
Tailwind
colors: {
  custom: {
    50: '#7d71ce',
    500: '#2f3bb8',
    950: '#000000',
  },
}
SCSS
$custom: #2f3bb8;
$custom-light: #7d71ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3bb8",
  "rgb": {
    "r": 47,
    "g": 59,
    "b": 184
  },
  "hsl": {
    "h": 234.745,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.43156,
    "c": 0.19396,
    "h": 271.1
  },
  "luminance": 0.07193
}

Semantic roles & 50–950 ramp

primary
#2F3BB8
secondary
#C8C17B
accent
#D545E2
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #2F3BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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