#2F33BD#2F33BD

#2F33BD is a dark, highly saturated blue. Relative luminance 0.066; OKLCH L 42.4% C 0.209 H 271.9°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#2F33BD
RGBrgb(47, 51, 189)
HSLhsl(238, 60%, 46%)
HSVhsv(238, 75%, 74%)
CMYKcmyk(75.1%, 73%, 0%, 25.9%)
CIE-LABlab(30.98, 45.05, -72.06)
CIE-LCHlch(30.98, 84.98, 302.02°)
OKLaboklab(42.4% 0.0071 -0.2086)
OKLCHoklch(42.4% 0.209 271.9)
XYZxyz(11.5383, 6.6449, 48.8087)
Luminance0.0665 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F33BD #BDB92F
analogous
#2F7ABD #2F33BD #722FBD
triadic
#2F33BD #BD2F33 #33BD2F
tetradic
#2F33BD #BD2F7A #BDB92F #2FBD72
square
#2F33BD #BD2F7A #BDB92F #2FBD72
split-complementary
#2F33BD #BD722F #7ABD2F
monochromatic
#17195B #23268C #2F33BD #5558D5 #8688E1

Accessibility & contrast

On white

9.02
#2F33BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#2F33BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F33BD
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F33BD#FFFFFF#000000##FFFFFF
##2F33BD1.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C1
Deuteranopia (green-blind)
#0042BB
Tritanopia (blue-blind)
#005B75
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2f33bd;
/* rgb */ color: rgb(47, 51, 189);
/* oklch */ color: oklch(42.4% 0.209 271.9);
Tailwind
colors: {
  custom: {
    50: '#7e6cd2',
    500: '#2f33bd',
    950: '#000000',
  },
}
SCSS
$custom: #2f33bd;
$custom-light: #7e6cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f33bd",
  "rgb": {
    "r": 47,
    "g": 51,
    "b": 189
  },
  "hsl": {
    "h": 238.31,
    "s": 60.169,
    "l": 46.275
  },
  "oklch": {
    "l": 0.424,
    "c": 0.20868,
    "h": 271.9
  },
  "luminance": 0.06646
}

Semantic roles & 50–950 ramp

primary
#2F33BD
secondary
#CAC87E
accent
#DF44E3
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #2F33BD

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

Preview Lab → · Contrast checker → · Palette generator →

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