#2F357D#2F357D

#2F357D is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.7% C 0.120 H 275.2°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#2F357D
RGBrgb(47, 53, 125)
HSLhsl(235, 45%, 34%)
HSVhsv(235, 62%, 49%)
CMYKcmyk(62.4%, 57.6%, 0%, 51%)
CIE-LABlab(25.66, 21.14, -41.81)
CIE-LCHlch(25.66, 46.85, 296.82°)
OKLaboklab(36.74% 0.0109 -0.12)
OKLCHoklch(36.74% 0.12 275.2)
XYZxyz(6.1459, 4.6307, 19.9680)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F357D #7D772F
analogous
#2F5C7D #2F357D #502F7D
triadic
#2F357D #7D2F35 #357D2F
tetradic
#2F357D #7D2F5C #7D772F #2F7D50
square
#2F357D #7D2F5C #7D772F #2F7D50
split-complementary
#2F357D #7D502F #5C7D2F
monochromatic
#0E0F24 #1E2251 #2F357D #4048A9 #626AC4

Accessibility & contrast

On white

10.90
#2F357D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#2F357D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F357D
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F357D#FFFFFF#000000##FFFFFF
##2F357D1.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00407F
Deuteranopia (green-blind)
#003A7C
Tritanopia (blue-blind)
#004653
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2f357d;
/* rgb */ color: rgb(47, 53, 125);
/* oklch */ color: oklch(36.7% 0.120 275.2);
Tailwind
colors: {
  custom: {
    50: '#706ca3',
    500: '#2f357d',
    950: '#000000',
  },
}
SCSS
$custom: #2f357d;
$custom-light: #706ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f357d",
  "rgb": {
    "r": 47,
    "g": 53,
    "b": 125
  },
  "hsl": {
    "h": 235.385,
    "s": 45.349,
    "l": 33.725
  },
  "oklch": {
    "l": 0.36741,
    "c": 0.12047,
    "h": 275.2
  },
  "luminance": 0.04631
}

Semantic roles & 50–950 ramp

primary
#2F357D
secondary
#ABA55D
accent
#CB53D5
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2F357D

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

Preview Lab → · Contrast checker → · Palette generator →

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