#2F269F#2F269F

#2F269F is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.4% C 0.185 H 276.0°. Best body text is #FFFFFF at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#2F269F
RGBrgb(47, 38, 159)
HSLhsl(244, 61%, 39%)
HSVhsv(244, 76%, 62%)
CMYKcmyk(70.4%, 76.1%, 0%, 37.6%)
CIE-LABlab(25.24, 42.47, -63.56)
CIE-LCHlch(25.24, 76.44, 303.75°)
OKLaboklab(37.39% 0.0192 -0.1837)
OKLCHoklch(37.39% 0.185 276)
XYZxyz(8.1214, 4.4930, 33.2334)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F269F #969F26
analogous
#26599F #2F269F #6B269F
triadic
#2F269F #9F2F26 #269F2F
tetradic
#2F269F #9F2659 #969F26 #269F6B
square
#2F269F #9F2659 #969F26 #269F6B
split-complementary
#2F269F #9F6B26 #599F26
monochromatic
#120E3C #201A6E #2F269F #3F34CE #6E65DA

Accessibility & contrast

On white

11.06
#2F269F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2F269F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F269F
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F269F#FFFFFF#000000##FFFFFF
##2F269F1.0011.061.9011.06
#FFFFFF11.061.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A2
Deuteranopia (green-blind)
#00369D
Tritanopia (blue-blind)
#004961
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2f269f;
/* rgb */ color: rgb(47, 38, 159);
/* oklch */ color: oklch(37.4% 0.185 276.0);
Tailwind
colors: {
  custom: {
    50: '#7963bd',
    500: '#2f269f',
    950: '#000000',
  },
}
SCSS
$custom: #2f269f;
$custom-light: #7963bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2f269f",
  "rgb": {
    "r": 47,
    "g": 38,
    "b": 159
  },
  "hsl": {
    "h": 244.463,
    "s": 61.421,
    "l": 38.627
  },
  "oklch": {
    "l": 0.3739,
    "c": 0.18472,
    "h": 276
  },
  "luminance": 0.04494
}

Semantic roles & 50–950 ramp

primary
#2F269F
secondary
#B9C061
accent
#E543D9
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #2F269F

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

Preview Lab → · Contrast checker → · Palette generator →

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