#2F269E#2F269E

#2F269E is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.3% C 0.183 H 276.1°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#2F269E
RGBrgb(47, 38, 158)
HSLhsl(245, 61%, 38%)
HSVhsv(245, 76%, 62%)
CMYKcmyk(70.3%, 75.9%, 0%, 38%)
CIE-LABlab(25.13, 42.15, -63.12)
CIE-LCHlch(25.13, 75.90, 303.73°)
OKLaboklab(37.28% 0.0194 -0.1825)
OKLCHoklch(37.28% 0.183 276.1)
XYZxyz(8.0349, 4.4584, 32.7782)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F269E #959E26
analogous
#26599E #2F269E #6B269E
triadic
#2F269E #9E2F26 #269E2F
tetradic
#2F269E #9E2659 #959E26 #269E6B
square
#2F269E #9E2659 #959E26 #269E6B
split-complementary
#2F269E #9E6B26 #599E26
monochromatic
#120E3B #201A6D #2F269E #3F33CE #6D65DA

Accessibility & contrast

On white

11.10
#2F269E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F269E
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F269E#FFFFFF#000000##FFFFFF
##2F269E1.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A1
Deuteranopia (green-blind)
#00369C
Tritanopia (blue-blind)
#004960
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2f269e;
/* rgb */ color: rgb(47, 38, 158);
/* oklch */ color: oklch(37.3% 0.183 276.1);
Tailwind
colors: {
  custom: {
    50: '#7862bc',
    500: '#2f269e',
    950: '#000000',
  },
}
SCSS
$custom: #2f269e;
$custom-light: #7862bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2f269e",
  "rgb": {
    "r": 47,
    "g": 38,
    "b": 158
  },
  "hsl": {
    "h": 244.5,
    "s": 61.224,
    "l": 38.431
  },
  "oklch": {
    "l": 0.37284,
    "c": 0.18349,
    "h": 276.1
  },
  "luminance": 0.04459
}

Semantic roles & 50–950 ramp

primary
#2F269E
secondary
#B8C060
accent
#E443D8
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2F269E

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

Preview Lab → · Contrast checker → · Palette generator →

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