#2F246B#2F246B

#2F246B is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.9% C 0.118 H 284.6°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#2F246B
RGBrgb(47, 36, 107)
HSLhsl(249, 50%, 28%)
HSVhsv(249, 66%, 42%)
CMYKcmyk(56.1%, 66.4%, 0%, 58%)
CIE-LABlab(19.75, 26.19, -39.87)
CIE-LCHlch(19.75, 47.71, 303.30°)
OKLaboklab(31.92% 0.0297 -0.1144)
OKLCHoklch(31.92% 0.118 284.6)
XYZxyz(4.4562, 2.9274, 14.2373)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F246B #606B24
analogous
#243C6B #2F246B #52246B
triadic
#2F246B #6B2F24 #246B2F
tetradic
#2F246B #6B243C #606B24 #246B52
square
#2F246B #6B243C #606B24 #246B52
split-complementary
#2F246B #6B5224 #3C6B24
monochromatic
#0A0817 #1B153D #2F246B #433399 #5B48C1

Accessibility & contrast

On white

13.24
#2F246B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F246B
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F246B#FFFFFF#000000##FFFFFF
##2F246B1.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326D
Deuteranopia (green-blind)
#002E6A
Tritanopia (blue-blind)
#163544
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2f246b;
/* rgb */ color: rgb(47, 36, 107);
/* oklch */ color: oklch(31.9% 0.118 284.6);
Tailwind
colors: {
  custom: {
    50: '#6e5f96',
    500: '#2f246b',
    950: '#000000',
  },
}
SCSS
$custom: #2f246b;
$custom-light: #6e5f96;
$custom-dark: #000000;
JSON
{
  "hex": "#2f246b",
  "rgb": {
    "r": 47,
    "g": 36,
    "b": 107
  },
  "hsl": {
    "h": 249.296,
    "s": 49.65,
    "l": 28.039
  },
  "oklch": {
    "l": 0.31923,
    "c": 0.1182,
    "h": 284.6
  },
  "luminance": 0.02928
}

Semantic roles & 50–950 ramp

primary
#2F246B
secondary
#929E4D
accent
#D94FC4
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08040D
muted
#7B797E

Preview Lab

Preview with #2F246B

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

Preview Lab → · Contrast checker → · Palette generator →

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