#2F4893#2F4893

#2F4893 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.5% C 0.127 H 267.0°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#2F4893
RGBrgb(47, 72, 147)
HSLhsl(225, 52%, 38%)
HSVhsv(225, 68%, 58%)
CMYKcmyk(68%, 51%, 0%, 42.4%)
CIE-LABlab(32.58, 16.41, -44.26)
CIE-LCHlch(32.58, 47.20, 290.34°)
OKLaboklab(42.47% -0.0066 -0.1269)
OKLCHoklch(42.47% 0.127 267)
XYZxyz(8.7543, 7.3448, 28.5544)
Luminance0.0735 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4893 #937A2F
analogous
#2F7A93 #2F4893 #482F93
triadic
#2F4893 #932F48 #48932F
tetradic
#2F4893 #932F7A #937A2F #2F9348
square
#2F4893 #932F7A #937A2F #2F9348
split-complementary
#2F4893 #93482F #7A932F
monochromatic
#111B36 #203165 #2F4893 #3E5FC1 #6C85D0

Accessibility & contrast

On white

8.50
#2F4893 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#2F4893 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4893
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4893#FFFFFF#000000##FFFFFF
##2F48931.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5196
Deuteranopia (green-blind)
#004891
Tritanopia (blue-blind)
#005A66
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2f4893;
/* rgb */ color: rgb(47, 72, 147);
/* oklch */ color: oklch(42.5% 0.127 267.0);
Tailwind
colors: {
  custom: {
    50: '#737ab3',
    500: '#2f4893',
    950: '#000000',
  },
}
SCSS
$custom: #2f4893;
$custom-light: #737ab3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4893",
  "rgb": {
    "r": 47,
    "g": 72,
    "b": 147
  },
  "hsl": {
    "h": 225,
    "s": 51.546,
    "l": 38.039
  },
  "oklch": {
    "l": 0.42471,
    "c": 0.1271,
    "h": 267
  },
  "luminance": 0.07346
}

Semantic roles & 50–950 ramp

primary
#2F4893
secondary
#B7A366
accent
#B74DDB
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2F4893

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

Preview Lab → · Contrast checker → · Palette generator →

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