#2D368F#2D368F

#2D368F is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.3% C 0.146 H 273.0°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#2D368F
RGBrgb(45, 54, 143)
HSLhsl(234, 52%, 37%)
HSVhsv(234, 69%, 56%)
CMYKcmyk(68.5%, 62.2%, 0%, 43.9%)
CIE-LABlab(27.24, 26.72, -50.47)
CIE-LCHlch(27.24, 57.11, 297.90°)
OKLaboklab(38.34% 0.0076 -0.1455)
OKLCHoklch(38.34% 0.146 273)
XYZxyz(7.3576, 5.1787, 26.5931)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D368F #8F862D
analogous
#2D678F #2D368F #552D8F
triadic
#2D368F #8F2D36 #368F2D
tetradic
#2D368F #8F2D67 #8F862D #2D8F55
square
#2D368F #8F2D67 #8F862D #2D8F55
split-complementary
#2D368F #8F552D #678F2D
monochromatic
#101332 #1E2460 #2D368F #3C48BE #6771CF

Accessibility & contrast

On white

10.32
#2D368F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#2D368F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D368F
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D368F#FFFFFF#000000##FFFFFF
##2D368F1.0010.322.0410.32
#FFFFFF10.321.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004592
Deuteranopia (green-blind)
#003C8D
Tritanopia (blue-blind)
#004C5D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2d368f;
/* rgb */ color: rgb(45, 54, 143);
/* oklch */ color: oklch(38.3% 0.146 273.0);
Tailwind
colors: {
  custom: {
    50: '#736db1',
    500: '#2d368f',
    950: '#000000',
  },
}
SCSS
$custom: #2d368f;
$custom-light: #736db1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d368f",
  "rgb": {
    "r": 45,
    "g": 54,
    "b": 143
  },
  "hsl": {
    "h": 234.49,
    "s": 52.128,
    "l": 36.863
  },
  "oklch": {
    "l": 0.38337,
    "c": 0.14568,
    "h": 273
  },
  "luminance": 0.05179
}

Semantic roles & 50–950 ramp

primary
#2D368F
secondary
#B6AE62
accent
#CE4CDC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2D368F

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

Preview Lab → · Contrast checker → · Palette generator →

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