#2F357C#2F357C

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

Color values

HEX#2F357C
RGBrgb(47, 53, 124)
HSLhsl(235, 45%, 34%)
HSVhsv(235, 62%, 49%)
CMYKcmyk(62.1%, 57.3%, 0%, 51.4%)
CIE-LABlab(25.58, 20.77, -41.30)
CIE-LCHlch(25.58, 46.23, 296.70°)
OKLaboklab(36.66% 0.0108 -0.1185)
OKLCHoklch(36.66% 0.119 275.2)
XYZxyz(6.0823, 4.6053, 19.6333)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F357C #7C762F
analogous
#2F5B7C #2F357C #4F2F7C
triadic
#2F357C #7C2F35 #357C2F
tetradic
#2F357C #7C2F5B #7C762F #2F7C4F
square
#2F357C #7C2F5B #7C762F #2F7C4F
split-complementary
#2F357C #7C4F2F #5B7C2F
monochromatic
#0D0F23 #1E2250 #2F357C #4048A8 #626AC3

Accessibility & contrast

On white

10.93
#2F357C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#2F357C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F357C
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F357C#FFFFFF#000000##FFFFFF
##2F357C1.0010.931.9210.93
#FFFFFF10.931.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02407E
Deuteranopia (green-blind)
#00397B
Tritanopia (blue-blind)
#004653
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2f357c;
/* rgb */ color: rgb(47, 53, 124);
/* oklch */ color: oklch(36.7% 0.119 275.2);
Tailwind
colors: {
  custom: {
    50: '#706ca2',
    500: '#2f357c',
    950: '#000000',
  },
}
SCSS
$custom: #2f357c;
$custom-light: #706ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f357c",
  "rgb": {
    "r": 47,
    "g": 53,
    "b": 124
  },
  "hsl": {
    "h": 235.325,
    "s": 45.029,
    "l": 33.529
  },
  "oklch": {
    "l": 0.3666,
    "c": 0.11897,
    "h": 275.2
  },
  "luminance": 0.04606
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F357C

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

Preview Lab → · Contrast checker → · Palette generator →

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