#232A77#232A77

#232A77 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.2% C 0.130 H 273.0°. Best body text is #FFFFFF at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#232A77
RGBrgb(35, 42, 119)
HSLhsl(235, 55%, 30%)
HSVhsv(235, 71%, 47%)
CMYKcmyk(70.6%, 64.7%, 0%, 53.3%)
CIE-LABlab(21.37, 24.35, -45.00)
CIE-LCHlch(21.37, 51.17, 298.42°)
OKLaboklab(33.2% 0.0069 -0.1298)
OKLCHoklch(33.2% 0.13 273)
XYZxyz(4.8498, 3.3447, 17.8392)
Luminance0.0335 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232A77 #777023
analogous
#235477 #232A77 #462377
triadic
#232A77 #77232A #2A7723
tetradic
#232A77 #772354 #777023 #237746
square
#232A77 #772354 #777023 #237746
split-complementary
#232A77 #774623 #547723
monochromatic
#070918 #151948 #232A77 #313BA6 #4A55CA

Accessibility & contrast

On white

12.58
#232A77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#232A77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232A77
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232A77#FFFFFF#000000##FFFFFF
##232A771.0012.581.6712.58
#FFFFFF12.581.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003779
Deuteranopia (green-blind)
#003076
Tritanopia (blue-blind)
#003E4C
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #232a77;
/* rgb */ color: rgb(35, 42, 119);
/* oklch */ color: oklch(33.2% 0.130 273.0);
Tailwind
colors: {
  custom: {
    50: '#6a639f',
    500: '#232a77',
    950: '#000000',
  },
}
SCSS
$custom: #232a77;
$custom-light: #6a639f;
$custom-dark: #000000;
JSON
{
  "hex": "#232a77",
  "rgb": {
    "r": 35,
    "g": 42,
    "b": 119
  },
  "hsl": {
    "h": 235,
    "s": 54.545,
    "l": 30.196
  },
  "oklch": {
    "l": 0.33195,
    "c": 0.12998,
    "h": 273
  },
  "luminance": 0.03345
}

Semantic roles & 50–950 ramp

primary
#232A77
secondary
#AAA24C
accent
#D24ADE
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #232A77

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

Preview Lab → · Contrast checker → · Palette generator →

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