#2F369D#2F369D

#2F369D is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.7% C 0.164 H 273.2°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#2F369D
RGBrgb(47, 54, 157)
HSLhsl(236, 54%, 40%)
HSVhsv(236, 70%, 62%)
CMYKcmyk(70.1%, 65.6%, 0%, 38.4%)
CIE-LABlab(28.58, 32.10, -56.85)
CIE-LCHlch(28.58, 65.28, 299.45°)
OKLaboklab(39.73% 0.0092 -0.1641)
OKLCHoklch(39.73% 0.164 273.2)
XYZxyz(8.5752, 5.6762, 32.5354)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F369D #9D962F
analogous
#2F6D9D #2F369D #5F2F9D
triadic
#2F369D #9D2F36 #369D2F
tetradic
#2F369D #9D2F6D #9D962F #2F9D5F
square
#2F369D #9D2F6D #9D962F #2F9D5F
split-complementary
#2F369D #9D5F2F #6D9D2F
monochromatic
#13163F #21266E #2F369D #434BC7 #7278D5

Accessibility & contrast

On white

9.83
#2F369D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#2F369D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F369D
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F369D#FFFFFF#000000##FFFFFF
##2F369D1.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A0
Deuteranopia (green-blind)
#003E9B
Tritanopia (blue-blind)
#005164
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2f369d;
/* rgb */ color: rgb(47, 54, 157);
/* oklch */ color: oklch(39.7% 0.164 273.2);
Tailwind
colors: {
  custom: {
    50: '#776dbb',
    500: '#2f369d',
    950: '#000000',
  },
}
SCSS
$custom: #2f369d;
$custom-light: #776dbb;
$custom-dark: #000000;
JSON
{
  "hex": "#2f369d",
  "rgb": {
    "r": 47,
    "g": 54,
    "b": 157
  },
  "hsl": {
    "h": 236.182,
    "s": 53.922,
    "l": 40
  },
  "oklch": {
    "l": 0.39734,
    "c": 0.1644,
    "h": 273.2
  },
  "luminance": 0.05677
}

Semantic roles & 50–950 ramp

primary
#2F369D
secondary
#BCB76B
accent
#D44BDD
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2F369D

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

Preview Lab → · Contrast checker → · Palette generator →

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