#2F358C#2F358C

#2F358C is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.0% C 0.142 H 274.4°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#2F358C
RGBrgb(47, 53, 140)
HSLhsl(236, 50%, 37%)
HSVhsv(236, 66%, 55%)
CMYKcmyk(66.4%, 62.1%, 0%, 45.1%)
CIE-LABlab(26.86, 26.61, -49.23)
CIE-LCHlch(26.86, 55.96, 298.39°)
OKLaboklab(38.01% 0.0109 -0.1418)
OKLCHoklch(38.01% 0.142 274.4)
XYZxyz(7.1775, 5.0434, 25.4011)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F358C #8C862F
analogous
#2F648C #2F358C #582F8C
triadic
#2F358C #8C2F35 #358C2F
tetradic
#2F358C #8C2F64 #8C862F #2F8C58
square
#2F358C #8C2F64 #8C862F #2F8C58
split-complementary
#2F358C #8C582F #648C2F
monochromatic
#101230 #20245E #2F358C #3E46BA #696FCD

Accessibility & contrast

On white

10.45
#2F358C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#2F358C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F358C
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F358C#FFFFFF#000000##FFFFFF
##2F358C1.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448F
Deuteranopia (green-blind)
#003B8A
Tritanopia (blue-blind)
#004B5B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2f358c;
/* rgb */ color: rgb(47, 53, 140);
/* oklch */ color: oklch(38.0% 0.142 274.4);
Tailwind
colors: {
  custom: {
    50: '#736cae',
    500: '#2f358c',
    950: '#000000',
  },
}
SCSS
$custom: #2f358c;
$custom-light: #736cae;
$custom-dark: #000000;
JSON
{
  "hex": "#2f358c",
  "rgb": {
    "r": 47,
    "g": 53,
    "b": 140
  },
  "hsl": {
    "h": 236.129,
    "s": 49.733,
    "l": 36.667
  },
  "oklch": {
    "l": 0.38012,
    "c": 0.14221,
    "h": 274.4
  },
  "luminance": 0.05044
}

Semantic roles & 50–950 ramp

primary
#2F358C
secondary
#B4AE63
accent
#D04FD9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #2F358C

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

Preview Lab → · Contrast checker → · Palette generator →

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