#232B56#232B56

#232B56 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.6% C 0.078 H 273.1°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#232B56
RGBrgb(35, 43, 86)
HSLhsl(231, 42%, 24%)
HSVhsv(231, 59%, 34%)
CMYKcmyk(59.3%, 50%, 0%, 66.3%)
CIE-LABlab(19.04, 11.01, -27.23)
CIE-LCHlch(19.04, 29.37, 292.02°)
OKLaboklab(30.62% 0.0042 -0.0775)
OKLCHoklch(30.62% 0.078 273.1)
XYZxyz(3.2362, 2.7567, 9.1639)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232B56 #564E23
analogous
#234456 #232B56 #342356
triadic
#232B56 #56232B #2B5623
tetradic
#232B56 #562344 #564E23 #235634
square
#232B56 #562344 #564E23 #235634
split-complementary
#232B56 #563423 #445623
monochromatic
#090B16 #11152B #232B56 #354181 #4656AD

Accessibility & contrast

On white

13.54
#232B56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#232B56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232B56
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232B56#FFFFFF#000000##FFFFFF
##232B561.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183158
Deuteranopia (green-blind)
#112C55
Tritanopia (blue-blind)
#09343C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #232b56;
/* rgb */ color: rgb(35, 43, 86);
/* oklch */ color: oklch(30.6% 0.078 273.1);
Tailwind
colors: {
  custom: {
    50: '#636486',
    500: '#232b56',
    950: '#000000',
  },
}
SCSS
$custom: #232b56;
$custom-light: #636486;
$custom-dark: #000000;
JSON
{
  "hex": "#232b56",
  "rgb": {
    "r": 35,
    "g": 43,
    "b": 86
  },
  "hsl": {
    "h": 230.588,
    "s": 42.149,
    "l": 23.725
  },
  "oklch": {
    "l": 0.30621,
    "c": 0.07765,
    "h": 273.1
  },
  "luminance": 0.02757
}

Semantic roles & 50–950 ramp

primary
#232B56
secondary
#8A804B
accent
#BE56D2
background
#F6F5F8
surface
#EBEAEF
border
#C6C6CA
text
#05050B
muted
#7A797C

Preview Lab

Preview with #232B56

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

Preview Lab → · Contrast checker → · Palette generator →

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