#233D8F#233D8F

#233D8F is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.2% C 0.140 H 266.5°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#233D8F
RGBrgb(35, 61, 143)
HSLhsl(226, 61%, 35%)
HSVhsv(226, 76%, 56%)
CMYKcmyk(75.5%, 57.3%, 0%, 43.9%)
CIE-LABlab(28.58, 20.54, -48.30)
CIE-LCHlch(28.58, 52.49, 293.04°)
OKLaboklab(39.19% -0.0084 -0.1393)
OKLCHoklch(39.19% 0.14 266.5)
XYZxyz(7.3181, 5.6772, 26.6914)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233D8F #8F7523
analogous
#23738F #233D8F #3F238F
triadic
#233D8F #8F233D #3D8F23
tetradic
#233D8F #8F2373 #8F7523 #238F3F
square
#233D8F #8F2373 #8F7523 #238F3F
split-complementary
#233D8F #8F3F23 #738F23
monochromatic
#0B132D #17285E #233D8F #2F52C0 #5775D6

Accessibility & contrast

On white

9.83
#233D8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#233D8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233D8F
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233D8F#FFFFFF#000000##FFFFFF
##233D8F1.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004992
Deuteranopia (green-blind)
#003F8D
Tritanopia (blue-blind)
#005160
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #233d8f;
/* rgb */ color: rgb(35, 61, 143);
/* oklch */ color: oklch(39.2% 0.140 266.5);
Tailwind
colors: {
  custom: {
    50: '#6e72b0',
    500: '#233d8f',
    950: '#000000',
  },
}
SCSS
$custom: #233d8f;
$custom-light: #6e72b0;
$custom-dark: #000000;
JSON
{
  "hex": "#233d8f",
  "rgb": {
    "r": 35,
    "g": 61,
    "b": 143
  },
  "hsl": {
    "h": 225.556,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.39193,
    "c": 0.13952,
    "h": 266.5
  },
  "luminance": 0.05678
}

Semantic roles & 50–950 ramp

primary
#233D8F
secondary
#BAA154
accent
#BD44E4
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080711
muted
#7B7A80

Preview Lab

Preview with #233D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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