#2F3CBC#2F3CBC

#2F3CBC is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.7% C 0.198 H 270.8°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#2F3CBC
RGBrgb(47, 60, 188)
HSLhsl(234, 60%, 46%)
HSVhsv(234, 75%, 74%)
CMYKcmyk(75%, 68.1%, 0%, 26.3%)
CIE-LABlab(32.84, 39.33, -68.40)
CIE-LCHlch(32.84, 78.91, 299.90°)
OKLaboklab(43.71% 0.0026 -0.1979)
OKLCHoklch(43.71% 0.198 270.8)
XYZxyz(11.8622, 7.4656, 48.3830)
Luminance0.0747 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3CBC #BCAF2F
analogous
#2F82BC #2F3CBC #682FBC
triadic
#2F3CBC #BC2F3C #3CBC2F
tetradic
#2F3CBC #BC2F82 #BCAF2F #2FBC68
square
#2F3CBC #BC2F82 #BCAF2F #2FBC68
split-complementary
#2F3CBC #BC682F #82BC2F
monochromatic
#171D5A #232C8B #2F3CBC #5460D4 #858DE0

Accessibility & contrast

On white

8.42
#2F3CBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#2F3CBC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3CBC
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3CBC#FFFFFF#000000##FFFFFF
##2F3CBC1.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C0
Deuteranopia (green-blind)
#0047BA
Tritanopia (blue-blind)
#005F77
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2f3cbc;
/* rgb */ color: rgb(47, 60, 188);
/* oklch */ color: oklch(43.7% 0.198 270.8);
Tailwind
colors: {
  custom: {
    50: '#7d72d1',
    500: '#2f3cbc',
    950: '#000000',
  },
}
SCSS
$custom: #2f3cbc;
$custom-light: #7d72d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3cbc",
  "rgb": {
    "r": 47,
    "g": 60,
    "b": 188
  },
  "hsl": {
    "h": 234.468,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.43709,
    "c": 0.19794,
    "h": 270.8
  },
  "luminance": 0.07467
}

Semantic roles & 50–950 ramp

primary
#2F3CBC
secondary
#CAC37D
accent
#D545E3
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0B0814
muted
#7C7B83

Preview Lab

Preview with #2F3CBC

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

Preview Lab → · Contrast checker → · Palette generator →

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