#2F3CB0#2F3CB0

#2F3CB0 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.6% C 0.182 H 271.1°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#2F3CB0
RGBrgb(47, 60, 176)
HSLhsl(234, 58%, 44%)
HSVhsv(234, 73%, 69%)
CMYKcmyk(73.3%, 65.9%, 0%, 31%)
CIE-LABlab(31.74, 35.07, -63.11)
CIE-LCHlch(31.74, 72.20, 299.06°)
OKLaboklab(42.57% 0.0036 -0.1824)
OKLCHoklch(42.57% 0.182 271.1)
XYZxyz(10.6220, 6.9696, 41.8513)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3CB0 #B0A32F
analogous
#2F7CB0 #2F3CB0 #622FB0
triadic
#2F3CB0 #B02F3C #3CB02F
tetradic
#2F3CB0 #B02F7C #B0A32F #2FB062
square
#2F3CB0 #B02F7C #B0A32F #2FB062
split-complementary
#2F3CB0 #B0622F #7CB02F
monochromatic
#151B4F #222C80 #2F3CB0 #4D5ACF #7D87DC

Accessibility & contrast

On white

8.77
#2F3CB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#2F3CB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3CB0
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3CB0#FFFFFF#000000##FFFFFF
##2F3CB01.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B4
Deuteranopia (green-blind)
#0045AE
Tritanopia (blue-blind)
#005B70
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2f3cb0;
/* rgb */ color: rgb(47, 60, 176);
/* oklch */ color: oklch(42.6% 0.182 271.1);
Tailwind
colors: {
  custom: {
    50: '#7b72c9',
    500: '#2f3cb0',
    950: '#000000',
  },
}
SCSS
$custom: #2f3cb0;
$custom-light: #7b72c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3cb0",
  "rgb": {
    "r": 47,
    "g": 60,
    "b": 176
  },
  "hsl": {
    "h": 233.953,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.42566,
    "c": 0.18249,
    "h": 271.1
  },
  "luminance": 0.06971
}

Semantic roles & 50–950 ramp

primary
#2F3CB0
secondary
#C5BD76
accent
#D247E1
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #2F3CB0

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

Preview Lab → · Contrast checker → · Palette generator →

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