#2F246D#2F246D

#2F246D is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.1% C 0.121 H 284.1°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#2F246D
RGBrgb(47, 36, 109)
HSLhsl(249, 50%, 28%)
HSVhsv(249, 67%, 43%)
CMYKcmyk(56.9%, 67%, 0%, 57.3%)
CIE-LABlab(19.92, 26.87, -40.89)
CIE-LCHlch(19.92, 48.93, 303.31°)
OKLaboklab(32.1% 0.0295 -0.1174)
OKLCHoklch(32.1% 0.121 284.1)
XYZxyz(4.5626, 2.9700, 14.7979)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F246D #626D24
analogous
#243D6D #2F246D #53246D
triadic
#2F246D #6D2F24 #246D2F
tetradic
#2F246D #6D243D #626D24 #246D53
square
#2F246D #6D243D #626D24 #246D53
split-complementary
#2F246D #6D5324 #3D6D24
monochromatic
#0A0817 #1B153F #2F246D #43339B #5B49C3

Accessibility & contrast

On white

13.17
#2F246D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#2F246D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F246D
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F246D#FFFFFF#000000##FFFFFF
##2F246D1.0013.171.5913.17
#FFFFFF13.171.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326F
Deuteranopia (green-blind)
#002E6C
Tritanopia (blue-blind)
#143645
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2f246d;
/* rgb */ color: rgb(47, 36, 109);
/* oklch */ color: oklch(32.1% 0.121 284.1);
Tailwind
colors: {
  custom: {
    50: '#6e5f97',
    500: '#2f246d',
    950: '#000000',
  },
}
SCSS
$custom: #2f246d;
$custom-light: #6e5f97;
$custom-dark: #000000;
JSON
{
  "hex": "#2f246d",
  "rgb": {
    "r": 47,
    "g": 36,
    "b": 109
  },
  "hsl": {
    "h": 249.041,
    "s": 50.345,
    "l": 28.431
  },
  "oklch": {
    "l": 0.32103,
    "c": 0.12105,
    "h": 284.1
  },
  "luminance": 0.0297
}

Semantic roles & 50–950 ramp

primary
#2F246D
secondary
#94A04D
accent
#DA4EC5
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08040E
muted
#7A797E

Preview Lab

Preview with #2F246D

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

Preview Lab → · Contrast checker → · Palette generator →

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