#2F369A#2F369A

#2F369A is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.5% C 0.160 H 273.4°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#2F369A
RGBrgb(47, 54, 154)
HSLhsl(236, 53%, 39%)
HSVhsv(236, 69%, 60%)
CMYKcmyk(69.5%, 64.9%, 0%, 39.6%)
CIE-LABlab(28.31, 31.02, -55.46)
CIE-LCHlch(28.31, 63.54, 299.22°)
OKLaboklab(39.46% 0.0094 -0.1601)
OKLCHoklch(39.46% 0.16 273.4)
XYZxyz(8.3222, 5.5750, 31.2031)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F369A #9A932F
analogous
#2F6C9A #2F369A #5E2F9A
triadic
#2F369A #9A2F36 #369A2F
tetradic
#2F369A #9A2F6C #9A932F #2F9A5E
square
#2F369A #9A2F6C #9A932F #2F9A5E
split-complementary
#2F369A #9A5E2F #6C9A2F
monochromatic
#12153C #21266B #2F369A #414AC5 #7077D3

Accessibility & contrast

On white

9.93
#2F369A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#2F369A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F369A
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F369A#FFFFFF#000000##FFFFFF
##2F369A1.009.932.129.93
#FFFFFF9.931.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489D
Deuteranopia (green-blind)
#003E98
Tritanopia (blue-blind)
#005063
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2f369a;
/* rgb */ color: rgb(47, 54, 154);
/* oklch */ color: oklch(39.5% 0.160 273.4);
Tailwind
colors: {
  custom: {
    50: '#766db9',
    500: '#2f369a',
    950: '#000000',
  },
}
SCSS
$custom: #2f369a;
$custom-light: #766db9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f369a",
  "rgb": {
    "r": 47,
    "g": 54,
    "b": 154
  },
  "hsl": {
    "h": 236.075,
    "s": 53.234,
    "l": 39.412
  },
  "oklch": {
    "l": 0.39457,
    "c": 0.16034,
    "h": 273.4
  },
  "luminance": 0.05576
}

Semantic roles & 50–950 ramp

primary
#2F369A
secondary
#BBB66A
accent
#D34BDD
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #2F369A

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

Preview Lab → · Contrast checker → · Palette generator →

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