#2F33A0#2F33A0

#2F33A0 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.5% C 0.172 H 273.7°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#2F33A0
RGBrgb(47, 51, 160)
HSLhsl(238, 55%, 41%)
HSVhsv(238, 71%, 63%)
CMYKcmyk(70.6%, 68.1%, 0%, 37.3%)
CIE-LABlab(28.14, 35.08, -59.39)
CIE-LCHlch(28.14, 68.98, 300.56°)
OKLaboklab(39.5% 0.011 -0.1716)
OKLCHoklch(39.5% 0.172 273.7)
XYZxyz(8.6992, 5.5092, 33.8558)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F33A0 #A09C2F
analogous
#2F6BA0 #2F33A0 #632FA0
triadic
#2F33A0 #A02F33 #33A02F
tetradic
#2F33A0 #A02F6B #A09C2F #2FA063
square
#2F33A0 #A02F6B #A09C2F #2FA063
split-complementary
#2F33A0 #A0632F #6BA02F
monochromatic
#131541 #212471 #2F33A0 #4449C8 #7377D6

Accessibility & contrast

On white

9.99
#2F33A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#2F33A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F33A0
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F33A0#FFFFFF#000000##FFFFFF
##2F33A01.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A3
Deuteranopia (green-blind)
#003D9E
Tritanopia (blue-blind)
#005065
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2f33a0;
/* rgb */ color: rgb(47, 51, 160);
/* oklch */ color: oklch(39.5% 0.172 273.7);
Tailwind
colors: {
  custom: {
    50: '#786bbd',
    500: '#2f33a0',
    950: '#000000',
  },
}
SCSS
$custom: #2f33a0;
$custom-light: #786bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2f33a0",
  "rgb": {
    "r": 47,
    "g": 51,
    "b": 160
  },
  "hsl": {
    "h": 237.876,
    "s": 54.589,
    "l": 40.588
  },
  "oklch": {
    "l": 0.39497,
    "c": 0.17196,
    "h": 273.7
  },
  "luminance": 0.0551
}

Semantic roles & 50–950 ramp

primary
#2F33A0
secondary
#BEBB6D
accent
#D94ADE
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2F33A0

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

Preview Lab → · Contrast checker → · Palette generator →

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