#2F265E#2F265E

#2F265E is a dark, moderate blue. Relative luminance 0.028; OKLCH L 31.2% C 0.096 H 286.8°. Best body text is #FFFFFF at 13.46:1 contrast (WCAG AA passes).

Color values

HEX#2F265E
RGBrgb(47, 38, 94)
HSLhsl(250, 42%, 26%)
HSVhsv(250, 60%, 37%)
CMYKcmyk(50%, 59.6%, 0%, 63.1%)
CIE-LABlab(19.22, 20.43, -32.21)
CIE-LCHlch(19.22, 38.14, 302.39°)
OKLaboklab(31.2% 0.0278 -0.0918)
OKLCHoklch(31.2% 0.096 286.8)
XYZxyz(3.8852, 2.7986, 10.9230)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F265E #555E26
analogous
#26395E #2F265E #4B265E
triadic
#2F265E #5E2F26 #265E2F
tetradic
#2F265E #5E2639 #555E26 #265E4B
square
#2F265E #5E2639 #555E26 #265E4B
split-complementary
#2F265E #5E4B26 #395E26
monochromatic
#0B0916 #191432 #2F265E #45388A #5B49B5

Accessibility & contrast

On white

13.46
#2F265E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F265E
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F265E#FFFFFF#000000##FFFFFF
##2F265E1.0013.461.5613.46
#FFFFFF13.461.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#063060
Deuteranopia (green-blind)
#052D5D
Tritanopia (blue-blind)
#20323E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2f265e;
/* rgb */ color: rgb(47, 38, 94);
/* oklch */ color: oklch(31.2% 0.096 286.8);
Tailwind
colors: {
  custom: {
    50: '#6b608c',
    500: '#2f265e',
    950: '#000000',
  },
}
SCSS
$custom: #2f265e;
$custom-light: #6b608c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f265e",
  "rgb": {
    "r": 47,
    "g": 38,
    "b": 94
  },
  "hsl": {
    "h": 249.643,
    "s": 42.424,
    "l": 25.882
  },
  "oklch": {
    "l": 0.31201,
    "c": 0.09596,
    "h": 286.8
  },
  "luminance": 0.02799
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F265E

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

Preview Lab → · Contrast checker → · Palette generator →

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