#233F8B#233F8B

#233F8B is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.3% C 0.131 H 265.5°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#233F8B
RGBrgb(35, 63, 139)
HSLhsl(224, 60%, 34%)
HSVhsv(224, 75%, 55%)
CMYKcmyk(74.8%, 54.7%, 0%, 45.5%)
CIE-LABlab(28.84, 17.59, -45.42)
CIE-LCHlch(28.84, 48.71, 291.17°)
OKLaboklab(39.29% -0.0104 -0.1307)
OKLCHoklch(39.29% 0.131 265.5)
XYZxyz(7.1292, 5.7757, 25.1602)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233F8B #8B6F23
analogous
#23738B #233F8B #3B238B
triadic
#233F8B #8B233F #3F8B23
tetradic
#233F8B #8B2373 #8B6F23 #238B3B
square
#233F8B #8B2373 #8B6F23 #238B3B
split-complementary
#233F8B #8B3B23 #738B23
monochromatic
#0A1329 #17295A #233F8B #2F55BC #5477D4

Accessibility & contrast

On white

9.74
#233F8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#233F8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233F8B
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233F8B#FFFFFF#000000##FFFFFF
##233F8B1.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07498E
Deuteranopia (green-blind)
#003F89
Tritanopia (blue-blind)
#00515E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #233f8b;
/* rgb */ color: rgb(35, 63, 139);
/* oklch */ color: oklch(39.3% 0.131 265.5);
Tailwind
colors: {
  custom: {
    50: '#6d73ad',
    500: '#233f8b',
    950: '#000000',
  },
}
SCSS
$custom: #233f8b;
$custom-light: #6d73ad;
$custom-dark: #000000;
JSON
{
  "hex": "#233f8b",
  "rgb": {
    "r": 35,
    "g": 63,
    "b": 139
  },
  "hsl": {
    "h": 223.846,
    "s": 59.77,
    "l": 34.118
  },
  "oklch": {
    "l": 0.39288,
    "c": 0.13115,
    "h": 265.5
  },
  "luminance": 0.05776
}

Semantic roles & 50–950 ramp

primary
#233F8B
secondary
#B89C52
accent
#B845E3
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #233F8B

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

Preview Lab → · Contrast checker → · Palette generator →

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