#2F269A#2F269A

#2F269A is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.9% C 0.178 H 276.5°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#2F269A
RGBrgb(47, 38, 154)
HSLhsl(245, 60%, 38%)
HSVhsv(245, 75%, 60%)
CMYKcmyk(69.5%, 75.3%, 0%, 39.6%)
CIE-LABlab(24.71, 40.83, -61.37)
CIE-LCHlch(24.71, 73.71, 303.64°)
OKLaboklab(36.86% 0.0203 -0.1773)
OKLCHoklch(36.86% 0.179 276.5)
XYZxyz(7.6962, 4.3230, 30.9944)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F269A #919A26
analogous
#26579A #2F269A #69269A
triadic
#2F269A #9A2F26 #269A2F
tetradic
#2F269A #9A2657 #919A26 #269A69
square
#2F269A #9A2657 #919A26 #269A69
split-complementary
#2F269A #9A6926 #579A26
monochromatic
#110E38 #201A69 #2F269A #3E32CB #6B62D8

Accessibility & contrast

On white

11.26
#2F269A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2F269A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F269A
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F269A#FFFFFF#000000##FFFFFF
##2F269A1.0011.261.8611.26
#FFFFFF11.261.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409D
Deuteranopia (green-blind)
#003698
Tritanopia (blue-blind)
#00475E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2f269a;
/* rgb */ color: rgb(47, 38, 154);
/* oklch */ color: oklch(36.9% 0.178 276.5);
Tailwind
colors: {
  custom: {
    50: '#7862b9',
    500: '#2f269a',
    950: '#000000',
  },
}
SCSS
$custom: #2f269a;
$custom-light: #7862b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f269a",
  "rgb": {
    "r": 47,
    "g": 38,
    "b": 154
  },
  "hsl": {
    "h": 244.655,
    "s": 60.417,
    "l": 37.647
  },
  "oklch": {
    "l": 0.36861,
    "c": 0.1785,
    "h": 276.5
  },
  "luminance": 0.04324
}

Semantic roles & 50–950 ramp

primary
#2F269A
secondary
#B6BE5E
accent
#E444D7
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2F269A

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

Preview Lab → · Contrast checker → · Palette generator →

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