#2F269D#2F269D

#2F269D is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.2% C 0.182 H 276.2°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#2F269D
RGBrgb(47, 38, 157)
HSLhsl(245, 61%, 38%)
HSVhsv(245, 76%, 62%)
CMYKcmyk(70.1%, 75.8%, 0%, 38.4%)
CIE-LABlab(25.03, 41.82, -62.69)
CIE-LCHlch(25.03, 75.35, 303.71°)
OKLaboklab(37.18% 0.0196 -0.1812)
OKLCHoklch(37.18% 0.182 276.2)
XYZxyz(7.9492, 4.4242, 32.3268)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F269D #949D26
analogous
#26589D #2F269D #6A269D
triadic
#2F269D #9D2F26 #269D2F
tetradic
#2F269D #9D2658 #949D26 #269D6A
square
#2F269D #9D2658 #949D26 #269D6A
split-complementary
#2F269D #9D6A26 #589D26
monochromatic
#110E3A #201A6C #2F269D #3E33CE #6D64D9

Accessibility & contrast

On white

11.14
#2F269D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2F269D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F269D
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F269D#FFFFFF#000000##FFFFFF
##2F269D1.0011.141.8911.14
#FFFFFF11.141.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A0
Deuteranopia (green-blind)
#00369B
Tritanopia (blue-blind)
#004860
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2f269d;
/* rgb */ color: rgb(47, 38, 157);
/* oklch */ color: oklch(37.2% 0.182 276.2);
Tailwind
colors: {
  custom: {
    50: '#7862bb',
    500: '#2f269d',
    950: '#000000',
  },
}
SCSS
$custom: #2f269d;
$custom-light: #7862bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2f269d",
  "rgb": {
    "r": 47,
    "g": 38,
    "b": 157
  },
  "hsl": {
    "h": 244.538,
    "s": 61.026,
    "l": 38.235
  },
  "oklch": {
    "l": 0.37178,
    "c": 0.18225,
    "h": 276.2
  },
  "luminance": 0.04425
}

Semantic roles & 50–950 ramp

primary
#2F269D
secondary
#B8BF60
accent
#E444D8
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2F269D

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

Preview Lab → · Contrast checker → · Palette generator →

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