#2F249A#2F249A

#2F249A is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.6% C 0.180 H 276.8°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#2F249A
RGBrgb(47, 36, 154)
HSLhsl(246, 62%, 37%)
HSVhsv(246, 77%, 60%)
CMYKcmyk(69.5%, 76.6%, 0%, 39.6%)
CIE-LABlab(24.32, 41.95, -62.02)
CIE-LCHlch(24.32, 74.88, 304.07°)
OKLaboklab(36.58% 0.0214 -0.1792)
OKLCHoklch(36.58% 0.181 276.8)
XYZxyz(7.6340, 4.1985, 30.9737)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F249A #8F9A24
analogous
#24549A #2F249A #6A249A
triadic
#2F249A #9A2F24 #249A2F
tetradic
#2F249A #9A2454 #8F9A24 #249A6A
square
#2F249A #9A2454 #8F9A24 #249A6A
split-complementary
#2F249A #9A6A24 #549A24
monochromatic
#110D37 #201868 #2F249A #3E30CC #6A5FDA

Accessibility & contrast

On white

11.41
#2F249A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#2F249A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F249A
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F249A#FFFFFF#000000##FFFFFF
##2F249A1.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9D
Deuteranopia (green-blind)
#003598
Tritanopia (blue-blind)
#00465D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2f249a;
/* rgb */ color: rgb(47, 36, 154);
/* oklch */ color: oklch(36.6% 0.180 276.8);
Tailwind
colors: {
  custom: {
    50: '#7861b9',
    500: '#2f249a',
    950: '#000000',
  },
}
SCSS
$custom: #2f249a;
$custom-light: #7861b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f249a",
  "rgb": {
    "r": 47,
    "g": 36,
    "b": 154
  },
  "hsl": {
    "h": 245.593,
    "s": 62.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.36582,
    "c": 0.1805,
    "h": 276.8
  },
  "luminance": 0.04199
}

Semantic roles & 50–950 ramp

primary
#2F249A
secondary
#B5BF5B
accent
#E543D6
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2F249A

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

Preview Lab → · Contrast checker → · Palette generator →

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