#2F33A2#2F33A2

#2F33A2 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.7% C 0.175 H 273.5°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#2F33A2
RGBrgb(47, 51, 162)
HSLhsl(238, 55%, 41%)
HSVhsv(238, 71%, 64%)
CMYKcmyk(71%, 68.5%, 0%, 36.5%)
CIE-LABlab(28.33, 35.78, -60.30)
CIE-LCHlch(28.33, 70.11, 300.68°)
OKLaboklab(39.69% 0.0108 -0.1742)
OKLCHoklch(39.69% 0.175 273.5)
XYZxyz(8.8755, 5.5798, 34.7847)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F33A2 #A29E2F
analogous
#2F6CA2 #2F33A2 #642FA2
triadic
#2F33A2 #A22F33 #33A22F
tetradic
#2F33A2 #A22F6C #A29E2F #2FA264
square
#2F33A2 #A22F6C #A29E2F #2FA264
split-complementary
#2F33A2 #A2642F #6CA22F
monochromatic
#131543 #212473 #2F33A2 #454AC9 #7578D7

Accessibility & contrast

On white

9.92
#2F33A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#2F33A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F33A2
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F33A2#FFFFFF#000000##FFFFFF
##2F33A21.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A5
Deuteranopia (green-blind)
#003DA0
Tritanopia (blue-blind)
#005166
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2f33a2;
/* rgb */ color: rgb(47, 51, 162);
/* oklch */ color: oklch(39.7% 0.175 273.5);
Tailwind
colors: {
  custom: {
    50: '#786bbf',
    500: '#2f33a2',
    950: '#000000',
  },
}
SCSS
$custom: #2f33a2;
$custom-light: #786bbf;
$custom-dark: #000000;
JSON
{
  "hex": "#2f33a2",
  "rgb": {
    "r": 47,
    "g": 51,
    "b": 162
  },
  "hsl": {
    "h": 237.913,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.3969,
    "c": 0.17458,
    "h": 273.5
  },
  "luminance": 0.05581
}

Semantic roles & 50–950 ramp

primary
#2F33A2
secondary
#BFBC6E
accent
#D949DE
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2F33A2

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

Preview Lab → · Contrast checker → · Palette generator →

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