#2F3CB3#2F3CB3

#2F3CB3 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.8% C 0.186 H 271.1°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#2F3CB3
RGBrgb(47, 60, 179)
HSLhsl(234, 58%, 44%)
HSVhsv(234, 74%, 70%)
CMYKcmyk(73.7%, 66.5%, 0%, 29.8%)
CIE-LABlab(32.01, 36.15, -64.45)
CIE-LCHlch(32.01, 73.89, 299.29°)
OKLaboklab(42.85% 0.0034 -0.1864)
OKLCHoklch(42.85% 0.186 271.1)
XYZxyz(10.9221, 7.0896, 43.4319)
Luminance0.0709 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3CB3 #B3A62F
analogous
#2F7EB3 #2F3CB3 #642FB3
triadic
#2F3CB3 #B32F3C #3CB32F
tetradic
#2F3CB3 #B32F7E #B3A62F #2FB364
square
#2F3CB3 #B32F7E #B3A62F #2FB364
split-complementary
#2F3CB3 #B3642F #7EB32F
monochromatic
#161C52 #222C83 #2F3CB3 #4F5BD1 #7F88DD

Accessibility & contrast

On white

8.68
#2F3CB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#2F3CB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3CB3
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3CB3#FFFFFF#000000##FFFFFF
##2F3CB31.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B7
Deuteranopia (green-blind)
#0045B1
Tritanopia (blue-blind)
#005C72
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2f3cb3;
/* rgb */ color: rgb(47, 60, 179);
/* oklch */ color: oklch(42.8% 0.186 271.1);
Tailwind
colors: {
  custom: {
    50: '#7b72cb',
    500: '#2f3cb3',
    950: '#000000',
  },
}
SCSS
$custom: #2f3cb3;
$custom-light: #7b72cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3cb3",
  "rgb": {
    "r": 47,
    "g": 60,
    "b": 179
  },
  "hsl": {
    "h": 234.091,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.42848,
    "c": 0.18639,
    "h": 271.1
  },
  "luminance": 0.07091
}

Semantic roles & 50–950 ramp

primary
#2F3CB3
secondary
#C6BE78
accent
#D246E2
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #2F3CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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