#233B8B#233B8B

#233B8B is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.4% C 0.136 H 267.0°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#233B8B
RGBrgb(35, 59, 139)
HSLhsl(226, 60%, 34%)
HSVhsv(226, 75%, 55%)
CMYKcmyk(74.8%, 57.6%, 0%, 45.5%)
CIE-LABlab(27.71, 20.35, -47.26)
CIE-LCHlch(27.71, 51.45, 293.30°)
OKLaboklab(38.43% -0.0071 -0.1362)
OKLCHoklch(38.43% 0.136 267)
XYZxyz(6.9157, 5.3486, 25.0890)
Luminance0.0535 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233B8B #8B7323
analogous
#236F8B #233B8B #3F238B
triadic
#233B8B #8B233B #3B8B23
tetradic
#233B8B #8B236F #8B7323 #238B3F
square
#233B8B #8B236F #8B7323 #238B3F
split-complementary
#233B8B #8B3F23 #6F8B23
monochromatic
#0A1129 #17265A #233B8B #2F50BC #5472D4

Accessibility & contrast

On white

10.15
#233B8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#233B8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233B8B
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233B8B#FFFFFF#000000##FFFFFF
##233B8B1.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468E
Deuteranopia (green-blind)
#003D89
Tritanopia (blue-blind)
#004F5D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #233b8b;
/* rgb */ color: rgb(35, 59, 139);
/* oklch */ color: oklch(38.4% 0.136 267.0);
Tailwind
colors: {
  custom: {
    50: '#6d70ae',
    500: '#233b8b',
    950: '#000000',
  },
}
SCSS
$custom: #233b8b;
$custom-light: #6d70ae;
$custom-dark: #000000;
JSON
{
  "hex": "#233b8b",
  "rgb": {
    "r": 35,
    "g": 59,
    "b": 139
  },
  "hsl": {
    "h": 226.154,
    "s": 59.77,
    "l": 34.118
  },
  "oklch": {
    "l": 0.38434,
    "c": 0.1364,
    "h": 267
  },
  "luminance": 0.05349
}

Semantic roles & 50–950 ramp

primary
#233B8B
secondary
#B8A052
accent
#BE45E3
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #233B8B

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

Preview Lab → · Contrast checker → · Palette generator →

#233B8B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva