#2F3CB8#2F3CB8

#2F3CB8 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.3% C 0.193 H 270.9°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#2F3CB8
RGBrgb(47, 60, 184)
HSLhsl(234, 59%, 45%)
HSVhsv(234, 74%, 72%)
CMYKcmyk(74.5%, 67.4%, 0%, 27.8%)
CIE-LABlab(32.47, 37.92, -66.66)
CIE-LCHlch(32.47, 76.69, 299.64°)
OKLaboklab(43.32% 0.003 -0.1928)
OKLCHoklch(43.32% 0.193 270.9)
XYZxyz(11.4369, 7.2955, 46.1435)
Luminance0.0730 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3CB8 #B8AB2F
analogous
#2F80B8 #2F3CB8 #672FB8
triadic
#2F3CB8 #B82F3C #3CB82F
tetradic
#2F3CB8 #B82F80 #B8AB2F #2FB867
square
#2F3CB8 #B82F80 #B8AB2F #2FB867
split-complementary
#2F3CB8 #B8672F #80B82F
monochromatic
#161C57 #232C87 #2F3CB8 #525ED3 #828BDF

Accessibility & contrast

On white

8.54
#2F3CB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#2F3CB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3CB8
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3CB8#FFFFFF#000000##FFFFFF
##2F3CB81.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BC
Deuteranopia (green-blind)
#0046B6
Tritanopia (blue-blind)
#005D75
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2f3cb8;
/* rgb */ color: rgb(47, 60, 184);
/* oklch */ color: oklch(43.3% 0.193 270.9);
Tailwind
colors: {
  custom: {
    50: '#7d72ce',
    500: '#2f3cb8',
    950: '#000000',
  },
}
SCSS
$custom: #2f3cb8;
$custom-light: #7d72ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3cb8",
  "rgb": {
    "r": 47,
    "g": 60,
    "b": 184
  },
  "hsl": {
    "h": 234.307,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.43324,
    "c": 0.19284,
    "h": 270.9
  },
  "luminance": 0.07297
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F3CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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