#232277#232277

#232277 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.7% C 0.140 H 275.4°. Best body text is #FFFFFF at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#232277
RGBrgb(35, 34, 119)
HSLhsl(241, 56%, 30%)
HSVhsv(241, 71%, 47%)
CMYKcmyk(70.6%, 71.4%, 0%, 53.3%)
CIE-LABlab(19.36, 29.71, -48.29)
CIE-LCHlch(19.36, 56.70, 301.60°)
OKLaboklab(31.73% 0.0132 -0.1395)
OKLCHoklch(31.73% 0.14 275.4)
XYZxyz(4.5938, 2.8329, 17.7539)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232277 #767722
analogous
#224B77 #232277 #4E2277
triadic
#232277 #772322 #227723
tetradic
#232277 #77224B #767722 #22774E
square
#232277 #77224B #767722 #22774E
split-complementary
#232277 #774E22 #4B7722
monochromatic
#070718 #151447 #232277 #3130A7 #4A49CB

Accessibility & contrast

On white

13.40
#232277 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#232277 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232277
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232277#FFFFFF#000000##FFFFFF
##2322771.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337A
Deuteranopia (green-blind)
#002B75
Tritanopia (blue-blind)
#003949
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #232277;
/* rgb */ color: rgb(35, 34, 119);
/* oklch */ color: oklch(31.7% 0.140 275.4);
Tailwind
colors: {
  custom: {
    50: '#6b5e9f',
    500: '#232277',
    950: '#000000',
  },
}
SCSS
$custom: #232277;
$custom-light: #6b5e9f;
$custom-dark: #000000;
JSON
{
  "hex": "#232277",
  "rgb": {
    "r": 35,
    "g": 34,
    "b": 119
  },
  "hsl": {
    "h": 240.706,
    "s": 55.556,
    "l": 30
  },
  "oklch": {
    "l": 0.31728,
    "c": 0.14011,
    "h": 275.4
  },
  "luminance": 0.02833
}

Semantic roles & 50–950 ramp

primary
#232277
secondary
#A9AA4B
accent
#DF49DD
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040F
muted
#7A797E

Preview Lab

Preview with #232277

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

Preview Lab → · Contrast checker → · Palette generator →

#232277 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva