#2F458C#2F458C

#2F458C is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.3% C 0.121 H 267.9°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#2F458C
RGBrgb(47, 69, 140)
HSLhsl(226, 50%, 37%)
HSVhsv(226, 66%, 55%)
CMYKcmyk(66.4%, 50.7%, 0%, 45.1%)
CIE-LABlab(31.24, 15.80, -42.13)
CIE-LCHlch(31.24, 45.00, 290.56°)
OKLaboklab(41.3% -0.0045 -0.1207)
OKLCHoklch(41.3% 0.121 267.9)
XYZxyz(8.0324, 6.7533, 25.6861)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F458C #8C762F
analogous
#2F748C #2F458C #472F8C
triadic
#2F458C #8C2F45 #458C2F
tetradic
#2F458C #8C2F74 #8C762F #2F8C47
square
#2F458C #8C2F74 #8C762F #2F8C47
split-complementary
#2F458C #8C472F #748C2F
monochromatic
#101830 #202E5E #2F458C #3E5CBA #6980CD

Accessibility & contrast

On white

8.93
#2F458C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#2F458C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F458C
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F458C#FFFFFF#000000##FFFFFF
##2F458C1.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4E8F
Deuteranopia (green-blind)
#06468B
Tritanopia (blue-blind)
#005562
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2f458c;
/* rgb */ color: rgb(47, 69, 140);
/* oklch */ color: oklch(41.3% 0.121 267.9);
Tailwind
colors: {
  custom: {
    50: '#7278ae',
    500: '#2f458c',
    950: '#000000',
  },
}
SCSS
$custom: #2f458c;
$custom-light: #7278ae;
$custom-dark: #000000;
JSON
{
  "hex": "#2f458c",
  "rgb": {
    "r": 47,
    "g": 69,
    "b": 140
  },
  "hsl": {
    "h": 225.806,
    "s": 49.733,
    "l": 36.667
  },
  "oklch": {
    "l": 0.41297,
    "c": 0.1208,
    "h": 267.9
  },
  "luminance": 0.06754
}

Semantic roles & 50–950 ramp

primary
#2F458C
secondary
#B4A163
accent
#B84FD9
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #2F458C

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

Preview Lab → · Contrast checker → · Palette generator →

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