#2F269B#2F269B

#2F269B is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.0% C 0.180 H 276.4°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#2F269B
RGBrgb(47, 38, 155)
HSLhsl(245, 61%, 38%)
HSVhsv(245, 75%, 61%)
CMYKcmyk(69.7%, 75.5%, 0%, 39.2%)
CIE-LABlab(24.82, 41.16, -61.81)
CIE-LCHlch(24.82, 74.26, 303.66°)
OKLaboklab(36.97% 0.02 -0.1786)
OKLCHoklch(36.97% 0.18 276.4)
XYZxyz(7.7799, 4.3564, 31.4349)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F269B #929B26
analogous
#26589B #2F269B #69269B
triadic
#2F269B #9B2F26 #269B2F
tetradic
#2F269B #9B2658 #929B26 #269B69
square
#2F269B #9B2658 #929B26 #269B69
split-complementary
#2F269B #9B6926 #589B26
monochromatic
#110E39 #201A6A #2F269B #3E32CC #6C63D9

Accessibility & contrast

On white

11.22
#2F269B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2F269B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F269B
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F269B#FFFFFF#000000##FFFFFF
##2F269B1.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409E
Deuteranopia (green-blind)
#003699
Tritanopia (blue-blind)
#00485E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2f269b;
/* rgb */ color: rgb(47, 38, 155);
/* oklch */ color: oklch(37.0% 0.180 276.4);
Tailwind
colors: {
  custom: {
    50: '#7862ba',
    500: '#2f269b',
    950: '#000000',
  },
}
SCSS
$custom: #2f269b;
$custom-light: #7862ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2f269b",
  "rgb": {
    "r": 47,
    "g": 38,
    "b": 155
  },
  "hsl": {
    "h": 244.615,
    "s": 60.622,
    "l": 37.843
  },
  "oklch": {
    "l": 0.36966,
    "c": 0.17976,
    "h": 276.4
  },
  "luminance": 0.04357
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F269B

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

Preview Lab → · Contrast checker → · Palette generator →

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