#2F3685#2F3685

#2F3685 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.6% C 0.131 H 274.4°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#2F3685
RGBrgb(47, 54, 133)
HSLhsl(235, 48%, 35%)
HSVhsv(235, 65%, 52%)
CMYKcmyk(64.7%, 59.4%, 0%, 47.8%)
CIE-LABlab(26.55, 23.38, -45.37)
CIE-LCHlch(26.55, 51.04, 297.26°)
OKLaboklab(37.6% 0.01 -0.1304)
OKLCHoklch(37.6% 0.131 274.4)
XYZxyz(6.7237, 4.9356, 22.7841)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3685 #857E2F
analogous
#2F6185 #2F3685 #532F85
triadic
#2F3685 #852F36 #36852F
tetradic
#2F3685 #852F61 #857E2F #2F8553
square
#2F3685 #852F61 #857E2F #2F8553
split-complementary
#2F3685 #85532F #61852F
monochromatic
#0F112B #1F2458 #2F3685 #3F48B2 #666EC9

Accessibility & contrast

On white

10.57
#2F3685 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#2F3685 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3685
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3685#FFFFFF#000000##FFFFFF
##2F36851.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004388
Deuteranopia (green-blind)
#003B83
Tritanopia (blue-blind)
#004958
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2f3685;
/* rgb */ color: rgb(47, 54, 133);
/* oklch */ color: oklch(37.6% 0.131 274.4);
Tailwind
colors: {
  custom: {
    50: '#726da9',
    500: '#2f3685',
    950: '#000000',
  },
}
SCSS
$custom: #2f3685;
$custom-light: #726da9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3685",
  "rgb": {
    "r": 47,
    "g": 54,
    "b": 133
  },
  "hsl": {
    "h": 235.116,
    "s": 47.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.37605,
    "c": 0.13084,
    "h": 274.4
  },
  "luminance": 0.04936
}

Semantic roles & 50–950 ramp

primary
#2F3685
secondary
#B0A960
accent
#CC50D7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #2F3685

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

Preview Lab → · Contrast checker → · Palette generator →

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