#233C8D#233C8D

#233C8D is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.8% C 0.138 H 266.8°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#233C8D
RGBrgb(35, 60, 141)
HSLhsl(226, 60%, 35%)
HSVhsv(226, 75%, 55%)
CMYKcmyk(75.2%, 57.4%, 0%, 44.7%)
CIE-LABlab(28.14, 20.45, -47.78)
CIE-LCHlch(28.14, 51.97, 293.17°)
OKLaboklab(38.81% -0.0078 -0.1377)
OKLCHoklch(38.81% 0.138 266.8)
XYZxyz(7.1150, 5.5114, 25.8830)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233C8D #8D7423
analogous
#23718D #233C8D #3F238D
triadic
#233C8D #8D233C #3C8D23
tetradic
#233C8D #8D2371 #8D7423 #238D3F
square
#233C8D #8D2371 #8D7423 #238D3F
split-complementary
#233C8D #8D3F23 #718D23
monochromatic
#0B122B #17275C #233C8D #2F51BE #5574D5

Accessibility & contrast

On white

9.99
#233C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#233C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233C8D
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233C8D#FFFFFF#000000##FFFFFF
##233C8D1.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004790
Deuteranopia (green-blind)
#003E8B
Tritanopia (blue-blind)
#00505E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #233c8d;
/* rgb */ color: rgb(35, 60, 141);
/* oklch */ color: oklch(38.8% 0.138 266.8);
Tailwind
colors: {
  custom: {
    50: '#6e71af',
    500: '#233c8d',
    950: '#000000',
  },
}
SCSS
$custom: #233c8d;
$custom-light: #6e71af;
$custom-dark: #000000;
JSON
{
  "hex": "#233c8d",
  "rgb": {
    "r": 35,
    "g": 60,
    "b": 141
  },
  "hsl": {
    "h": 225.849,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.38813,
    "c": 0.13796,
    "h": 266.8
  },
  "luminance": 0.05512
}

Semantic roles & 50–950 ramp

primary
#233C8D
secondary
#B9A153
accent
#BE44E3
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #233C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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