#2F368F#2F368F

#2F368F is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.5% C 0.145 H 273.9°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#2F368F
RGBrgb(47, 54, 143)
HSLhsl(236, 51%, 37%)
HSVhsv(236, 67%, 56%)
CMYKcmyk(67.1%, 62.2%, 0%, 43.9%)
CIE-LABlab(27.37, 27.03, -50.25)
CIE-LCHlch(27.37, 57.06, 298.28°)
OKLaboklab(38.47% 0.0099 -0.1448)
OKLCHoklch(38.47% 0.145 273.9)
XYZxyz(7.4477, 5.2252, 26.5973)
Luminance0.0523 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F368F #8F882F
analogous
#2F668F #2F368F #582F8F
triadic
#2F368F #8F2F36 #368F2F
tetradic
#2F368F #8F2F66 #8F882F #2F8F58
square
#2F368F #8F2F66 #8F882F #2F8F58
split-complementary
#2F368F #8F582F #668F2F
monochromatic
#111333 #202561 #2F368F #3E47BD #6A72CE

Accessibility & contrast

On white

10.27
#2F368F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#2F368F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F368F
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F368F#FFFFFF#000000##FFFFFF
##2F368F1.0010.272.0510.27
#FFFFFF10.271.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004592
Deuteranopia (green-blind)
#003C8D
Tritanopia (blue-blind)
#004C5D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2f368f;
/* rgb */ color: rgb(47, 54, 143);
/* oklch */ color: oklch(38.5% 0.145 273.9);
Tailwind
colors: {
  custom: {
    50: '#746db1',
    500: '#2f368f',
    950: '#000000',
  },
}
SCSS
$custom: #2f368f;
$custom-light: #746db1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f368f",
  "rgb": {
    "r": 47,
    "g": 54,
    "b": 143
  },
  "hsl": {
    "h": 235.625,
    "s": 50.526,
    "l": 37.255
  },
  "oklch": {
    "l": 0.38466,
    "c": 0.14513,
    "h": 273.9
  },
  "luminance": 0.05226
}

Semantic roles & 50–950 ramp

primary
#2F368F
secondary
#B5AF65
accent
#D04EDA
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2F368F

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

Preview Lab → · Contrast checker → · Palette generator →

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