#2F265D#2F265D

#2F265D is a dark, moderate blue. Relative luminance 0.028; OKLCH L 31.1% C 0.094 H 287.1°. Best body text is #FFFFFF at 13.49:1 contrast (WCAG AA passes).

Color values

HEX#2F265D
RGBrgb(47, 38, 93)
HSLhsl(250, 42%, 26%)
HSVhsv(250, 59%, 36%)
CMYKcmyk(49.5%, 59.1%, 0%, 63.5%)
CIE-LABlab(19.14, 20.10, -31.67)
CIE-LCHlch(19.14, 37.51, 302.40°)
OKLaboklab(31.12% 0.0278 -0.0903)
OKLCHoklch(31.12% 0.094 287.1)
XYZxyz(3.8406, 2.7807, 10.6882)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F265D #545D26
analogous
#26385D #2F265D #4A265D
triadic
#2F265D #5D2F26 #265D2F
tetradic
#2F265D #5D2638 #545D26 #265D4A
square
#2F265D #5D2638 #545D26 #265D4A
split-complementary
#2F265D #5D4A26 #385D26
monochromatic
#0B0916 #191432 #2F265D #453888 #5B4AB4

Accessibility & contrast

On white

13.49
#2F265D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#2F265D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F265D
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F265D#FFFFFF#000000##FFFFFF
##2F265D1.0013.491.5613.49
#FFFFFF13.491.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08305F
Deuteranopia (green-blind)
#072D5C
Tritanopia (blue-blind)
#20323D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2f265d;
/* rgb */ color: rgb(47, 38, 93);
/* oklch */ color: oklch(31.1% 0.094 287.1);
Tailwind
colors: {
  custom: {
    50: '#6b608b',
    500: '#2f265d',
    950: '#000000',
  },
}
SCSS
$custom: #2f265d;
$custom-light: #6b608b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f265d",
  "rgb": {
    "r": 47,
    "g": 38,
    "b": 93
  },
  "hsl": {
    "h": 249.818,
    "s": 41.985,
    "l": 25.686
  },
  "oklch": {
    "l": 0.31121,
    "c": 0.09443,
    "h": 287.1
  },
  "luminance": 0.02781
}

Semantic roles & 50–950 ramp

primary
#2F265D
secondary
#85904F
accent
#D256BE
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#07050C
muted
#7A797D

Preview Lab

Preview with #2F265D

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

Preview Lab → · Contrast checker → · Palette generator →

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