#2F23B0#2F23B0

#2F23B0 is a dark, highly saturated blue. Relative luminance 0.049; OKLCH L 38.9% C 0.208 H 274.6°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#2F23B0
RGBrgb(47, 35, 176)
HSLhsl(245, 67%, 41%)
HSVhsv(245, 80%, 69%)
CMYKcmyk(73.3%, 80.1%, 0%, 31%)
CIE-LABlab(26.56, 49.45, -71.64)
CIE-LCHlch(26.56, 87.05, 304.62°)
OKLaboklab(38.87% 0.0165 -0.2072)
OKLCHoklch(38.87% 0.208 274.6)
XYZxyz(9.6072, 4.9400, 41.5131)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F23B0 #A4B023
analogous
#235EB0 #2F23B0 #7623B0
triadic
#2F23B0 #B02F23 #23B02F
tetradic
#2F23B0 #B0235E #A4B023 #23B076
square
#2F23B0 #B0235E #A4B023 #23B076
split-complementary
#2F23B0 #B07623 #5EB023
monochromatic
#140F4A #21197D #2F23B0 #4639D8 #766CE2

Accessibility & contrast

On white

10.56
#2F23B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#2F23B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F23B0
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F23B0#FFFFFF#000000##FFFFFF
##2F23B01.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B4
Deuteranopia (green-blind)
#0038AE
Tritanopia (blue-blind)
#004F6A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2f23b0;
/* rgb */ color: rgb(47, 35, 176);
/* oklch */ color: oklch(38.9% 0.208 274.6);
Tailwind
colors: {
  custom: {
    50: '#7d62c9',
    500: '#2f23b0',
    950: '#000000',
  },
}
SCSS
$custom: #2f23b0;
$custom-light: #7d62c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f23b0",
  "rgb": {
    "r": 47,
    "g": 35,
    "b": 176
  },
  "hsl": {
    "h": 245.106,
    "s": 66.825,
    "l": 41.373
  },
  "oklch": {
    "l": 0.3887,
    "c": 0.20784,
    "h": 274.6
  },
  "luminance": 0.04941
}

Semantic roles & 50–950 ramp

primary
#2F23B0
secondary
#C0C867
accent
#EA3EDB
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2F23B0

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

Preview Lab → · Contrast checker → · Palette generator →

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