#2F246E#2F246E

#2F246E is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.2% C 0.122 H 283.9°. Best body text is #FFFFFF at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#2F246E
RGBrgb(47, 36, 110)
HSLhsl(249, 51%, 29%)
HSVhsv(249, 67%, 43%)
CMYKcmyk(57.3%, 67.3%, 0%, 56.9%)
CIE-LABlab(20.01, 27.22, -41.40)
CIE-LCHlch(20.01, 49.54, 303.32°)
OKLaboklab(32.19% 0.0294 -0.1189)
OKLCHoklch(32.19% 0.122 283.9)
XYZxyz(4.6168, 2.9916, 15.0830)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F246E #636E24
analogous
#243E6E #2F246E #54246E
triadic
#2F246E #6E2F24 #246E2F
tetradic
#2F246E #6E243E #636E24 #246E54
square
#2F246E #6E243E #636E24 #246E54
split-complementary
#2F246E #6E5424 #3E6E24
monochromatic
#0A0817 #1B1540 #2F246E #43339C #5B49C3

Accessibility & contrast

On white

13.14
#2F246E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#2F246E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F246E
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F246E#FFFFFF#000000##FFFFFF
##2F246E1.0013.141.6013.14
#FFFFFF13.141.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003370
Deuteranopia (green-blind)
#002E6D
Tritanopia (blue-blind)
#133645
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2f246e;
/* rgb */ color: rgb(47, 36, 110);
/* oklch */ color: oklch(32.2% 0.122 283.9);
Tailwind
colors: {
  custom: {
    50: '#6e5f98',
    500: '#2f246e',
    950: '#000000',
  },
}
SCSS
$custom: #2f246e;
$custom-light: #6e5f98;
$custom-dark: #000000;
JSON
{
  "hex": "#2f246e",
  "rgb": {
    "r": 47,
    "g": 36,
    "b": 110
  },
  "hsl": {
    "h": 248.919,
    "s": 50.685,
    "l": 28.627
  },
  "oklch": {
    "l": 0.32193,
    "c": 0.12247,
    "h": 283.9
  },
  "luminance": 0.02992
}

Semantic roles & 50–950 ramp

primary
#2F246E
secondary
#95A14D
accent
#DA4EC5
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08040E
muted
#7A797E

Preview Lab

Preview with #2F246E

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

Preview Lab → · Contrast checker → · Palette generator →

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