#2F249D#2F249D

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

Color values

HEX#2F249D
RGBrgb(47, 36, 157)
HSLhsl(245, 63%, 38%)
HSVhsv(245, 77%, 62%)
CMYKcmyk(70.1%, 77.1%, 0%, 38.4%)
CIE-LABlab(24.64, 42.92, -63.33)
CIE-LCHlch(24.64, 76.50, 304.13°)
OKLaboklab(36.9% 0.0207 -0.183)
OKLCHoklch(36.9% 0.184 276.4)
XYZxyz(7.8870, 4.2997, 32.3060)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F249D #929D24
analogous
#24559D #2F249D #6C249D
triadic
#2F249D #9D2F24 #249D2F
tetradic
#2F249D #9D2455 #929D24 #249D6C
square
#2F249D #9D2455 #929D24 #249D6C
split-complementary
#2F249D #9D6C24 #559D24
monochromatic
#110D39 #20196B #2F249D #3E2FCF #6C61DB

Accessibility & contrast

On white

11.29
#2F249D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F249D
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F249D#FFFFFF#000000##FFFFFF
##2F249D1.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A0
Deuteranopia (green-blind)
#00359B
Tritanopia (blue-blind)
#00485F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2f249d;
/* rgb */ color: rgb(47, 36, 157);
/* oklch */ color: oklch(36.9% 0.184 276.4);
Tailwind
colors: {
  custom: {
    50: '#7861bb',
    500: '#2f249d',
    950: '#000000',
  },
}
SCSS
$custom: #2f249d;
$custom-light: #7861bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2f249d",
  "rgb": {
    "r": 47,
    "g": 36,
    "b": 157
  },
  "hsl": {
    "h": 245.455,
    "s": 62.694,
    "l": 37.843
  },
  "oklch": {
    "l": 0.36904,
    "c": 0.18421,
    "h": 276.4
  },
  "luminance": 0.043
}

Semantic roles & 50–950 ramp

primary
#2F249D
secondary
#B7C05D
accent
#E642D7
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2F249D

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

Preview Lab → · Contrast checker → · Palette generator →

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