#2F246A#2F246A

#2F246A is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.8% C 0.117 H 284.8°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#2F246A
RGBrgb(47, 36, 106)
HSLhsl(249, 49%, 28%)
HSVhsv(249, 66%, 42%)
CMYKcmyk(55.7%, 66%, 0%, 58.4%)
CIE-LABlab(19.67, 25.85, -39.36)
CIE-LCHlch(19.67, 47.09, 303.30°)
OKLaboklab(31.83% 0.0298 -0.1129)
OKLCHoklch(31.83% 0.117 284.8)
XYZxyz(4.4039, 2.9065, 13.9618)
Luminance0.0291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F246A #5F6A24
analogous
#243C6A #2F246A #52246A
triadic
#2F246A #6A2F24 #246A2F
tetradic
#2F246A #6A243C #5F6A24 #246A52
square
#2F246A #6A243C #5F6A24 #246A52
split-complementary
#2F246A #6A5224 #3C6A24
monochromatic
#0A0817 #1B143C #2F246A #433498 #5B48C1

Accessibility & contrast

On white

13.28
#2F246A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#2F246A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F246A
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F246A#FFFFFF#000000##FFFFFF
##2F246A1.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326C
Deuteranopia (green-blind)
#002D69
Tritanopia (blue-blind)
#173543
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2f246a;
/* rgb */ color: rgb(47, 36, 106);
/* oklch */ color: oklch(31.8% 0.117 284.8);
Tailwind
colors: {
  custom: {
    50: '#6e5f95',
    500: '#2f246a',
    950: '#000000',
  },
}
SCSS
$custom: #2f246a;
$custom-light: #6e5f95;
$custom-dark: #000000;
JSON
{
  "hex": "#2f246a",
  "rgb": {
    "r": 47,
    "g": 36,
    "b": 106
  },
  "hsl": {
    "h": 249.429,
    "s": 49.296,
    "l": 27.843
  },
  "oklch": {
    "l": 0.31834,
    "c": 0.11677,
    "h": 284.8
  },
  "luminance": 0.02907
}

Semantic roles & 50–950 ramp

primary
#2F246A
secondary
#919D4D
accent
#D94FC3
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08040D
muted
#7B797E

Preview Lab

Preview with #2F246A

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

Preview Lab → · Contrast checker → · Palette generator →

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