#2F33BA#2F33BA

#2F33BA is a dark, highly saturated blue. Relative luminance 0.065; OKLCH L 42.1% C 0.205 H 272.1°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#2F33BA
RGBrgb(47, 51, 186)
HSLhsl(238, 60%, 46%)
HSVhsv(238, 75%, 73%)
CMYKcmyk(74.7%, 72.6%, 0%, 27.1%)
CIE-LABlab(30.68, 44.05, -70.79)
CIE-LCHlch(30.68, 83.37, 301.89°)
OKLaboklab(42.09% 0.0075 -0.2049)
OKLCHoklch(42.09% 0.205 272.1)
XYZxyz(11.2161, 6.5160, 47.1115)
Luminance0.0652 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F33BA #BAB62F
analogous
#2F79BA #2F33BA #702FBA
triadic
#2F33BA #BA2F33 #33BA2F
tetradic
#2F33BA #BA2F79 #BAB62F #2FBA70
square
#2F33BA #BA2F79 #BAB62F #2FBA70
split-complementary
#2F33BA #BA702F #79BA2F
monochromatic
#161858 #232689 #2F33BA #5356D3 #8486E0

Accessibility & contrast

On white

9.12
#2F33BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#2F33BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F33BA
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F33BA#FFFFFF#000000##FFFFFF
##2F33BA1.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBE
Deuteranopia (green-blind)
#0041B8
Tritanopia (blue-blind)
#005973
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2f33ba;
/* rgb */ color: rgb(47, 51, 186);
/* oklch */ color: oklch(42.1% 0.205 272.1);
Tailwind
colors: {
  custom: {
    50: '#7e6cd0',
    500: '#2f33ba',
    950: '#000000',
  },
}
SCSS
$custom: #2f33ba;
$custom-light: #7e6cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f33ba",
  "rgb": {
    "r": 47,
    "g": 51,
    "b": 186
  },
  "hsl": {
    "h": 238.273,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.42091,
    "c": 0.20501,
    "h": 272.1
  },
  "luminance": 0.06517
}

Semantic roles & 50–950 ramp

primary
#2F33BA
secondary
#C9C77C
accent
#DE45E3
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #2F33BA

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

Preview Lab → · Contrast checker → · Palette generator →

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