#232D5F#232D5F

#232D5F is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.8% C 0.089 H 271.9°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#232D5F
RGBrgb(35, 45, 95)
HSLhsl(230, 46%, 25%)
HSVhsv(230, 63%, 37%)
CMYKcmyk(63.2%, 52.6%, 0%, 62.7%)
CIE-LABlab(20.28, 13.01, -31.21)
CIE-LCHlch(20.28, 33.81, 292.63°)
OKLaboklab(31.77% 0.003 -0.0892)
OKLCHoklch(31.77% 0.089 271.9)
XYZxyz(3.6964, 3.0600, 11.2201)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232D5F #5F5523
analogous
#234B5F #232D5F #37235F
triadic
#232D5F #5F232D #2D5F23
tetradic
#232D5F #5F234B #5F5523 #235F37
square
#232D5F #5F234B #5F5523 #235F37
split-complementary
#232D5F #5F3723 #4B5F23
monochromatic
#080B16 #131832 #232D5F #33428C #4457B8

Accessibility & contrast

On white

13.03
#232D5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#232D5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232D5F
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232D5F#FFFFFF#000000##FFFFFF
##232D5F1.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133461
Deuteranopia (green-blind)
#092E5E
Tritanopia (blue-blind)
#003841
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #232d5f;
/* rgb */ color: rgb(35, 45, 95);
/* oklch */ color: oklch(31.8% 0.089 271.9);
Tailwind
colors: {
  custom: {
    50: '#64658d',
    500: '#232d5f',
    950: '#000000',
  },
}
SCSS
$custom: #232d5f;
$custom-light: #64658d;
$custom-dark: #000000;
JSON
{
  "hex": "#232d5f",
  "rgb": {
    "r": 35,
    "g": 45,
    "b": 95
  },
  "hsl": {
    "h": 230,
    "s": 46.154,
    "l": 25.49
  },
  "oklch": {
    "l": 0.31767,
    "c": 0.08926,
    "h": 271.9
  },
  "luminance": 0.0306
}

Semantic roles & 50–950 ramp

primary
#232D5F
secondary
#93874B
accent
#C052D6
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06050C
muted
#7A7A7D

Preview Lab

Preview with #232D5F

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

Preview Lab → · Contrast checker → · Palette generator →

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