#2D2F90#2D2F90

#2D2F90 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.1% C 0.156 H 274.9°. Best body text is #FFFFFF at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#2D2F90
RGBrgb(45, 47, 144)
HSLhsl(239, 52%, 37%)
HSVhsv(239, 69%, 56%)
CMYKcmyk(68.7%, 67.4%, 0%, 43.5%)
CIE-LABlab(25.58, 31.68, -53.80)
CIE-LCHlch(25.58, 62.44, 300.49°)
OKLaboklab(37.15% 0.0132 -0.1553)
OKLCHoklch(37.15% 0.156 274.9)
XYZxyz(7.1311, 4.6039, 26.8930)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2F90 #908E2D
analogous
#2D6190 #2D2F90 #5D2D90
triadic
#2D2F90 #902D2F #2F902D
tetradic
#2D2F90 #902D61 #908E2D #2D905D
square
#2D2F90 #902D61 #908E2D #2D905D
split-complementary
#2D2F90 #905D2D #61902D
monochromatic
#101133 #1E2061 #2D2F90 #3C3EBF #686AD0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D2F90#FFFFFF#000000##FFFFFF
##2D2F901.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)
#004193
Deuteranopia (green-blind)
#00388E
Tritanopia (blue-blind)
#00485B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2d2f90;
/* rgb */ color: rgb(45, 47, 144);
/* oklch */ color: oklch(37.1% 0.156 274.9);
Tailwind
colors: {
  custom: {
    50: '#7468b1',
    500: '#2d2f90',
    950: '#000000',
  },
}
SCSS
$custom: #2d2f90;
$custom-light: #7468b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2f90",
  "rgb": {
    "r": 45,
    "g": 47,
    "b": 144
  },
  "hsl": {
    "h": 238.788,
    "s": 52.381,
    "l": 37.059
  },
  "oklch": {
    "l": 0.37145,
    "c": 0.15587,
    "h": 274.9
  },
  "luminance": 0.04605
}

Semantic roles & 50–950 ramp

primary
#2D2F90
secondary
#B6B562
accent
#D94CDC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2D2F90

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

Preview Lab → · Contrast checker → · Palette generator →

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