#2F3DBC#2F3DBC

#2F3DBC is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.9% C 0.197 H 270.6°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#2F3DBC
RGBrgb(47, 61, 188)
HSLhsl(234, 60%, 46%)
HSVhsv(234, 75%, 74%)
CMYKcmyk(75%, 67.6%, 0%, 26.3%)
CIE-LABlab(33.07, 38.71, -68.03)
CIE-LCHlch(33.07, 78.27, 299.64°)
OKLaboklab(43.88% 0.0021 -0.1968)
OKLCHoklch(43.88% 0.197 270.6)
XYZxyz(11.9150, 7.5714, 48.4007)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3DBC #BCAE2F
analogous
#2F83BC #2F3DBC #682FBC
triadic
#2F3DBC #BC2F3D #3DBC2F
tetradic
#2F3DBC #BC2F83 #BCAE2F #2FBC68
square
#2F3DBC #BC2F83 #BCAE2F #2FBC68
split-complementary
#2F3DBC #BC682F #83BC2F
monochromatic
#171D5A #232D8B #2F3DBC #5461D4 #858EE0

Accessibility & contrast

On white

8.35
#2F3DBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#2F3DBC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3DBC
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3DBC#FFFFFF#000000##FFFFFF
##2F3DBC1.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f3dbc;
/* rgb */ color: rgb(47, 61, 188);
/* oklch */ color: oklch(43.9% 0.197 270.6);
Tailwind
colors: {
  custom: {
    50: '#7d73d1',
    500: '#2f3dbc',
    950: '#000000',
  },
}
SCSS
$custom: #2f3dbc;
$custom-light: #7d73d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3dbc",
  "rgb": {
    "r": 47,
    "g": 61,
    "b": 188
  },
  "hsl": {
    "h": 234.043,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.43875,
    "c": 0.19683,
    "h": 270.6
  },
  "luminance": 0.07573
}

Semantic roles & 50–950 ramp

primary
#2F3DBC
secondary
#CAC27D
accent
#D345E3
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0B0814
muted
#7C7B83

Preview Lab

Preview with #2F3DBC

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

Preview Lab → · Contrast checker → · Palette generator →

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