#232F77#232F77

#232F77 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.2% C 0.123 H 271.2°. Best body text is #FFFFFF at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#232F77
RGBrgb(35, 47, 119)
HSLhsl(231, 55%, 30%)
HSVhsv(231, 71%, 47%)
CMYKcmyk(70.6%, 60.5%, 0%, 53.3%)
CIE-LABlab(22.73, 20.89, -42.79)
CIE-LCHlch(22.73, 47.62, 296.02°)
OKLaboklab(34.2% 0.0025 -0.1233)
OKLCHoklch(34.2% 0.123 271.2)
XYZxyz(5.0383, 3.7218, 17.9020)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232F77 #776B23
analogous
#235977 #232F77 #412377
triadic
#232F77 #77232F #2F7723
tetradic
#232F77 #772359 #776B23 #237741
square
#232F77 #772359 #776B23 #237741
split-complementary
#232F77 #774123 #597723
monochromatic
#070A18 #151C48 #232F77 #3142A6 #4A5DCA

Accessibility & contrast

On white

12.04
#232F77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#232F77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232F77
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232F77#FFFFFF#000000##FFFFFF
##232F771.0012.041.7412.04
#FFFFFF12.041.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A79
Deuteranopia (green-blind)
#003376
Tritanopia (blue-blind)
#00414E
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #232f77;
/* rgb */ color: rgb(35, 47, 119);
/* oklch */ color: oklch(34.2% 0.123 271.2);
Tailwind
colors: {
  custom: {
    50: '#69679f',
    500: '#232f77',
    950: '#000000',
  },
}
SCSS
$custom: #232f77;
$custom-light: #69679f;
$custom-dark: #000000;
JSON
{
  "hex": "#232f77",
  "rgb": {
    "r": 35,
    "g": 47,
    "b": 119
  },
  "hsl": {
    "h": 231.429,
    "s": 54.545,
    "l": 30.196
  },
  "oklch": {
    "l": 0.34198,
    "c": 0.12329,
    "h": 271.2
  },
  "luminance": 0.03722
}

Semantic roles & 50–950 ramp

primary
#232F77
secondary
#AA9C4C
accent
#C94ADE
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #232F77

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

Preview Lab → · Contrast checker → · Palette generator →

#232F77 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva