#2F33AF#2F33AF

#2F33AF is a dark, vivid blue. Relative luminance 0.061; OKLCH L 41.0% C 0.191 H 272.7°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#2F33AF
RGBrgb(47, 51, 175)
HSLhsl(238, 58%, 44%)
HSVhsv(238, 73%, 69%)
CMYKcmyk(73.1%, 70.9%, 0%, 31.4%)
CIE-LABlab(29.58, 40.30, -66.06)
CIE-LCHlch(29.58, 77.38, 301.39°)
OKLaboklab(40.97% 0.0092 -0.1911)
OKLCHoklch(40.97% 0.191 272.7)
XYZxyz(10.0914, 6.0661, 41.1882)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F33AF #AFAB2F
analogous
#2F73AF #2F33AF #6B2FAF
triadic
#2F33AF #AF2F33 #33AF2F
tetradic
#2F33AF #AF2F73 #AFAB2F #2FAF6B
square
#2F33AF #AF2F73 #AFAB2F #2FAF6B
split-complementary
#2F33AF #AF6B2F #73AF2F
monochromatic
#15174F #22257F #2F33AF #4C50CF #7C7FDC

Accessibility & contrast

On white

9.49
#2F33AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#2F33AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F33AF
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F33AF#FFFFFF#000000##FFFFFF
##2F33AF1.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB3
Deuteranopia (green-blind)
#0040AD
Tritanopia (blue-blind)
#00556D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2f33af;
/* rgb */ color: rgb(47, 51, 175);
/* oklch */ color: oklch(41.0% 0.191 272.7);
Tailwind
colors: {
  custom: {
    50: '#7b6bc8',
    500: '#2f33af',
    950: '#000000',
  },
}
SCSS
$custom: #2f33af;
$custom-light: #7b6bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f33af",
  "rgb": {
    "r": 47,
    "g": 51,
    "b": 175
  },
  "hsl": {
    "h": 238.125,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.40973,
    "c": 0.19131,
    "h": 272.7
  },
  "luminance": 0.06067
}

Semantic roles & 50–950 ramp

primary
#2F33AF
secondary
#C4C275
accent
#DC47E1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2F33AF

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

Preview Lab → · Contrast checker → · Palette generator →

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