#2F23AF#2F23AF

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

Color values

HEX#2F23AF
RGBrgb(47, 35, 175)
HSLhsl(245, 67%, 41%)
HSVhsv(245, 80%, 69%)
CMYKcmyk(73.1%, 80%, 0%, 31.4%)
CIE-LABlab(26.45, 49.14, -71.23)
CIE-LCHlch(26.45, 86.53, 304.60°)
OKLaboklab(38.76% 0.0167 -0.206)
OKLCHoklch(38.76% 0.207 274.6)
XYZxyz(9.5086, 4.9006, 40.9939)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F23AF #A3AF23
analogous
#235DAF #2F23AF #7523AF
triadic
#2F23AF #AF2F23 #23AF2F
tetradic
#2F23AF #AF235D #A3AF23 #23AF75
square
#2F23AF #AF235D #A3AF23 #23AF75
split-complementary
#2F23AF #AF7523 #5DAF23
monochromatic
#140F49 #21197C #2F23AF #4638D7 #756BE1

Accessibility & contrast

On white

10.60
#2F23AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#2F23AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F23AF
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F23AF#FFFFFF#000000##FFFFFF
##2F23AF1.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B3
Deuteranopia (green-blind)
#0038AD
Tritanopia (blue-blind)
#004E69
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2f23af;
/* rgb */ color: rgb(47, 35, 175);
/* oklch */ color: oklch(38.8% 0.207 274.6);
Tailwind
colors: {
  custom: {
    50: '#7d62c8',
    500: '#2f23af',
    950: '#000000',
  },
}
SCSS
$custom: #2f23af;
$custom-light: #7d62c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f23af",
  "rgb": {
    "r": 47,
    "g": 35,
    "b": 175
  },
  "hsl": {
    "h": 245.143,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.38758,
    "c": 0.20667,
    "h": 274.6
  },
  "luminance": 0.04902
}

Semantic roles & 50–950 ramp

primary
#2F23AF
secondary
#BFC766
accent
#EA3EDB
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2F23AF

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

Preview Lab → · Contrast checker → · Palette generator →

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