#2F369E#2F369E

#2F369E is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.8% C 0.166 H 273.1°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#2F369E
RGBrgb(47, 54, 158)
HSLhsl(236, 54%, 40%)
HSVhsv(236, 70%, 62%)
CMYKcmyk(70.3%, 65.8%, 0%, 38%)
CIE-LABlab(28.67, 32.45, -57.31)
CIE-LCHlch(28.67, 65.86, 299.52°)
OKLaboklab(39.83% 0.0091 -0.1655)
OKLCHoklch(39.83% 0.166 273.1)
XYZxyz(8.6609, 5.7105, 32.9869)
Luminance0.0571 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F369E #9E972F
analogous
#2F6E9E #2F369E #5F2F9E
triadic
#2F369E #9E2F36 #369E2F
tetradic
#2F369E #9E2F6E #9E972F #2F9E5F
square
#2F369E #9E2F6E #9E972F #2F9E5F
split-complementary
#2F369E #9E5F2F #6E9E2F
monochromatic
#131640 #21266F #2F369E #434BC7 #7278D5

Accessibility & contrast

On white

9.80
#2F369E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F369E
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F369E#FFFFFF#000000##FFFFFF
##2F369E1.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A1
Deuteranopia (green-blind)
#003F9C
Tritanopia (blue-blind)
#005165
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2f369e;
/* rgb */ color: rgb(47, 54, 158);
/* oklch */ color: oklch(39.8% 0.166 273.1);
Tailwind
colors: {
  custom: {
    50: '#776dbc',
    500: '#2f369e',
    950: '#000000',
  },
}
SCSS
$custom: #2f369e;
$custom-light: #776dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#2f369e",
  "rgb": {
    "r": 47,
    "g": 54,
    "b": 158
  },
  "hsl": {
    "h": 236.216,
    "s": 54.146,
    "l": 40.196
  },
  "oklch": {
    "l": 0.39827,
    "c": 0.16574,
    "h": 273.1
  },
  "luminance": 0.05711
}

Semantic roles & 50–950 ramp

primary
#2F369E
secondary
#BDB86C
accent
#D44ADE
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2F369E

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

Preview Lab → · Contrast checker → · Palette generator →

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