#2F33B3#2F33B3

#2F33B3 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 41.4% C 0.196 H 272.5°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#2F33B3
RGBrgb(47, 51, 179)
HSLhsl(238, 58%, 44%)
HSVhsv(238, 74%, 70%)
CMYKcmyk(73.7%, 71.5%, 0%, 29.8%)
CIE-LABlab(29.97, 41.67, -67.79)
CIE-LCHlch(29.97, 79.58, 301.58°)
OKLaboklab(41.38% 0.0086 -0.1961)
OKLCHoklch(41.38% 0.196 272.5)
XYZxyz(10.4901, 6.2256, 43.2879)
Luminance0.0623 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F33B3 #B3AF2F
analogous
#2F75B3 #2F33B3 #6D2FB3
triadic
#2F33B3 #B32F33 #33B32F
tetradic
#2F33B3 #B32F75 #B3AF2F #2FB36D
square
#2F33B3 #B32F75 #B3AF2F #2FB36D
split-complementary
#2F33B3 #B36D2F #75B32F
monochromatic
#161752 #222583 #2F33B3 #4F52D1 #7F82DD

Accessibility & contrast

On white

9.35
#2F33B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#2F33B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F33B3
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F33B3#FFFFFF#000000##FFFFFF
##2F33B31.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB7
Deuteranopia (green-blind)
#0040B1
Tritanopia (blue-blind)
#00576F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2f33b3;
/* rgb */ color: rgb(47, 51, 179);
/* oklch */ color: oklch(41.4% 0.196 272.5);
Tailwind
colors: {
  custom: {
    50: '#7c6ccb',
    500: '#2f33b3',
    950: '#000000',
  },
}
SCSS
$custom: #2f33b3;
$custom-light: #7c6ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#2f33b3",
  "rgb": {
    "r": 47,
    "g": 51,
    "b": 179
  },
  "hsl": {
    "h": 238.182,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.41376,
    "c": 0.19634,
    "h": 272.5
  },
  "luminance": 0.06227
}

Semantic roles & 50–950 ramp

primary
#2F33B3
secondary
#C6C478
accent
#DD46E2
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2F33B3

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

Preview Lab → · Contrast checker → · Palette generator →

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