#2D33AF#2D33AF

#2D33AF is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.9% C 0.192 H 272.1°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#2D33AF
RGBrgb(45, 51, 175)
HSLhsl(237, 59%, 43%)
HSVhsv(237, 74%, 69%)
CMYKcmyk(74.3%, 70.9%, 0%, 31.4%)
CIE-LABlab(29.46, 40.10, -66.26)
CIE-LCHlch(29.46, 77.44, 301.18°)
OKLaboklab(40.86% 0.0069 -0.1917)
OKLCHoklch(40.86% 0.192 272.1)
XYZxyz(10.0013, 6.0196, 41.1840)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D33AF #AFA92D
analogous
#2D74AF #2D33AF #682DAF
triadic
#2D33AF #AF2D33 #33AF2D
tetradic
#2D33AF #AF2D74 #AFA92D #2DAF68
square
#2D33AF #AF2D74 #AFA92D #2DAF68
split-complementary
#2D33AF #AF682D #74AF2D
monochromatic
#14174E #20257E #2D33AF #494FD0 #7A7EDD

Accessibility & contrast

On white

9.53
#2D33AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#2D33AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D33AF
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D33AF#FFFFFF#000000##FFFFFF
##2D33AF1.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB3
Deuteranopia (green-blind)
#003FAD
Tritanopia (blue-blind)
#00566D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2d33af;
/* rgb */ color: rgb(45, 51, 175);
/* oklch */ color: oklch(40.9% 0.192 272.1);
Tailwind
colors: {
  custom: {
    50: '#7a6bc8',
    500: '#2d33af',
    950: '#000000',
  },
}
SCSS
$custom: #2d33af;
$custom-light: #7a6bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d33af",
  "rgb": {
    "r": 45,
    "g": 51,
    "b": 175
  },
  "hsl": {
    "h": 237.231,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.40858,
    "c": 0.19182,
    "h": 272.1
  },
  "luminance": 0.06021
}

Semantic roles & 50–950 ramp

primary
#2D33AF
secondary
#C5C173
accent
#DB46E2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2D33AF

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

Preview Lab → · Contrast checker → · Palette generator →

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