#2F23BD#2F23BD

#2F23BD is a dark, highly saturated blue. Relative luminance 0.055; OKLCH L 40.3% C 0.223 H 273.4°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#2F23BD
RGBrgb(47, 35, 189)
HSLhsl(245, 69%, 44%)
HSVhsv(245, 81%, 74%)
CMYKcmyk(75.1%, 81.5%, 0%, 25.9%)
CIE-LABlab(28.06, 53.42, -76.90)
CIE-LCHlch(28.06, 93.63, 304.79°)
OKLaboklab(40.34% 0.0132 -0.2224)
OKLCHoklch(40.34% 0.223 273.4)
XYZxyz(10.9556, 5.4794, 48.6145)
Luminance0.0548 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F23BD #B1BD23
analogous
#2364BD #2F23BD #7C23BD
triadic
#2F23BD #BD2F23 #23BD2F
tetradic
#2F23BD #BD2364 #B1BD23 #23BD7C
square
#2F23BD #BD2364 #B1BD23 #23BD7C
split-complementary
#2F23BD #BD7C23 #64BD23
monochromatic
#151056 #221989 #2F23BD #4D41DC #7E75E5

Accessibility & contrast

On white

10.02
#2F23BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F23BD
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F23BD#FFFFFF#000000##FFFFFF
##2F23BD1.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049C1
Deuteranopia (green-blind)
#003BBA
Tritanopia (blue-blind)
#005471
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2f23bd;
/* rgb */ color: rgb(47, 35, 189);
/* oklch */ color: oklch(40.3% 0.223 273.4);
Tailwind
colors: {
  custom: {
    50: '#8063d2',
    500: '#2f23bd',
    950: '#000000',
  },
}
SCSS
$custom: #2f23bd;
$custom-light: #8063d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f23bd",
  "rgb": {
    "r": 47,
    "g": 35,
    "b": 189
  },
  "hsl": {
    "h": 244.675,
    "s": 68.75,
    "l": 43.922
  },
  "oklch": {
    "l": 0.40343,
    "c": 0.22283,
    "h": 273.4
  },
  "luminance": 0.05481
}

Semantic roles & 50–950 ramp

primary
#2F23BD
secondary
#C5CD6F
accent
#EC3CDE
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0514
muted
#7D7A83

Preview Lab

Preview with #2F23BD

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

Preview Lab → · Contrast checker → · Palette generator →

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