#232C56#232C56

#232C56 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.9% C 0.076 H 272.1°. Best body text is #FFFFFF at 13.41:1 contrast (WCAG AA passes).

Color values

HEX#232C56
RGBrgb(35, 44, 86)
HSLhsl(229, 42%, 24%)
HSVhsv(229, 59%, 34%)
CMYKcmyk(59.3%, 48.8%, 0%, 66.3%)
CIE-LABlab(19.35, 10.29, -26.74)
CIE-LCHlch(19.35, 28.65, 291.06°)
OKLaboklab(30.86% 0.0028 -0.0761)
OKLCHoklch(30.86% 0.076 272.1)
XYZxyz(3.2730, 2.8303, 9.1761)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232C56 #564D23
analogous
#234556 #232C56 #332356
triadic
#232C56 #56232C #2C5623
tetradic
#232C56 #562345 #564D23 #235633
square
#232C56 #562345 #564D23 #235633
split-complementary
#232C56 #563323 #455623
monochromatic
#090B16 #11162B #232C56 #354281 #4659AD

Accessibility & contrast

On white

13.41
#232C56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#232C56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232C56
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232C56#FFFFFF#000000##FFFFFF
##232C561.0013.411.5713.41
#FFFFFF13.411.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193158
Deuteranopia (green-blind)
#132D55
Tritanopia (blue-blind)
#08353C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #232c56;
/* rgb */ color: rgb(35, 44, 86);
/* oklch */ color: oklch(30.9% 0.076 272.1);
Tailwind
colors: {
  custom: {
    50: '#626486',
    500: '#232c56',
    950: '#000000',
  },
}
SCSS
$custom: #232c56;
$custom-light: #626486;
$custom-dark: #000000;
JSON
{
  "hex": "#232c56",
  "rgb": {
    "r": 35,
    "g": 44,
    "b": 86
  },
  "hsl": {
    "h": 229.412,
    "s": 42.149,
    "l": 23.725
  },
  "oklch": {
    "l": 0.30857,
    "c": 0.07613,
    "h": 272.1
  },
  "luminance": 0.02831
}

Semantic roles & 50–950 ramp

primary
#232C56
secondary
#8A7F4B
accent
#BC56D2
background
#F6F6F8
surface
#EBEBEF
border
#C6C6CA
text
#05050B
muted
#7A7A7C

Preview Lab

Preview with #232C56

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

Preview Lab → · Contrast checker → · Palette generator →

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