#2F366E#2F366E

#2F366E is a dark, moderate blue. Relative luminance 0.044; OKLCH L 35.8% C 0.096 H 275.1°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#2F366E
RGBrgb(47, 54, 110)
HSLhsl(233, 40%, 31%)
HSVhsv(233, 57%, 43%)
CMYKcmyk(57.3%, 50.9%, 0%, 56.9%)
CIE-LABlab(24.85, 14.99, -33.57)
CIE-LCHlch(24.85, 36.77, 294.06°)
OKLaboklab(35.79% 0.0085 -0.0957)
OKLCHoklch(35.79% 0.096 275.1)
XYZxyz(5.3050, 4.3681, 15.3124)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F366E #6E672F
analogous
#2F556E #2F366E #472F6E
triadic
#2F366E #6E2F36 #366E2F
tetradic
#2F366E #6E2F55 #6E672F #2F6E47
square
#2F366E #6E2F55 #6E672F #2F6E47
split-complementary
#2F366E #6E472F #556E2F
monochromatic
#0A0C18 #1D2143 #2F366E #414B99 #5D68BA

Accessibility & contrast

On white

11.21
#2F366E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2F366E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F366E
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F366E#FFFFFF#000000##FFFFFF
##2F366E1.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3E70
Deuteranopia (green-blind)
#13386D
Tritanopia (blue-blind)
#10424C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2f366e;
/* rgb */ color: rgb(47, 54, 110);
/* oklch */ color: oklch(35.8% 0.096 275.1);
Tailwind
colors: {
  custom: {
    50: '#6d6c98',
    500: '#2f366e',
    950: '#000000',
  },
}
SCSS
$custom: #2f366e;
$custom-light: #6d6c98;
$custom-dark: #000000;
JSON
{
  "hex": "#2f366e",
  "rgb": {
    "r": 47,
    "g": 54,
    "b": 110
  },
  "hsl": {
    "h": 233.333,
    "s": 40.127,
    "l": 30.784
  },
  "oklch": {
    "l": 0.35791,
    "c": 0.09611,
    "h": 275.1
  },
  "luminance": 0.04368
}

Semantic roles & 50–950 ramp

primary
#2F366E
secondary
#9F9859
accent
#C358D0
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07070D
muted
#7A7A7E

Preview Lab

Preview with #2F366E

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

Preview Lab → · Contrast checker → · Palette generator →

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