#232E55#232E55

#232E55 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.3% C 0.071 H 270.0°. Best body text is #FFFFFF at 13.18:1 contrast (WCAG AA passes).

Color values

HEX#232E55
RGBrgb(35, 46, 85)
HSLhsl(227, 42%, 24%)
HSVhsv(227, 59%, 33%)
CMYKcmyk(58.8%, 45.9%, 0%, 66.7%)
CIE-LABlab(19.91, 8.48, -25.18)
CIE-LCHlch(19.91, 26.57, 288.61°)
OKLaboklab(31.26% 0 -0.0715)
OKLCHoklch(31.26% 0.071 270)
XYZxyz(3.3093, 2.9670, 8.9909)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232E55 #554A23
analogous
#234755 #232E55 #312355
triadic
#232E55 #55232E #2E5523
tetradic
#232E55 #552347 #554A23 #235531
square
#232E55 #552347 #554A23 #235531
split-complementary
#232E55 #553123 #475523
monochromatic
#090C16 #11172A #232E55 #354580 #475DAC

Accessibility & contrast

On white

13.18
#232E55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#232E55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232E55
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232E55#FFFFFF#000000##FFFFFF
##232E551.0013.181.5913.18
#FFFFFF13.181.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3257
Deuteranopia (green-blind)
#182E54
Tritanopia (blue-blind)
#09363D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #232e55;
/* rgb */ color: rgb(35, 46, 85);
/* oklch */ color: oklch(31.3% 0.071 270.0);
Tailwind
colors: {
  custom: {
    50: '#626685',
    500: '#232e55',
    950: '#000000',
  },
}
SCSS
$custom: #232e55;
$custom-light: #626685;
$custom-dark: #000000;
JSON
{
  "hex": "#232e55",
  "rgb": {
    "r": 35,
    "g": 46,
    "b": 85
  },
  "hsl": {
    "h": 226.8,
    "s": 41.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.31264,
    "c": 0.07149,
    "h": 270
  },
  "luminance": 0.02967
}

Semantic roles & 50–950 ramp

primary
#232E55
secondary
#897B4B
accent
#B656D1
background
#F6F6F8
surface
#EBEBEF
border
#C6C6CA
text
#05050B
muted
#7A7A7C

Preview Lab

Preview with #232E55

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

Preview Lab → · Contrast checker → · Palette generator →

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