#233F89#233F89

#233F89 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.1% C 0.128 H 265.3°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#233F89
RGBrgb(35, 63, 137)
HSLhsl(224, 59%, 34%)
HSVhsv(224, 74%, 54%)
CMYKcmyk(74.5%, 54%, 0%, 46.3%)
CIE-LABlab(28.69, 16.80, -44.43)
CIE-LCHlch(28.69, 47.50, 290.72°)
OKLaboklab(39.13% -0.0106 -0.1278)
OKLCHoklch(39.13% 0.128 265.3)
XYZxyz(6.9844, 5.7177, 24.3976)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233F89 #896D23
analogous
#237289 #233F89 #3A2389
triadic
#233F89 #89233F #3F8923
tetradic
#233F89 #892372 #896D23 #23893A
square
#233F89 #892372 #896D23 #23893A
split-complementary
#233F89 #893A23 #728923
monochromatic
#0A1228 #172958 #233F89 #2F55BA #5376D3

Accessibility & contrast

On white

9.80
#233F89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #233F89
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233F89#FFFFFF#000000##FFFFFF
##233F891.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C498C
Deuteranopia (green-blind)
#003F88
Tritanopia (blue-blind)
#00515D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #233f89;
/* rgb */ color: rgb(35, 63, 137);
/* oklch */ color: oklch(39.1% 0.128 265.3);
Tailwind
colors: {
  custom: {
    50: '#6d73ac',
    500: '#233f89',
    950: '#000000',
  },
}
SCSS
$custom: #233f89;
$custom-light: #6d73ac;
$custom-dark: #000000;
JSON
{
  "hex": "#233f89",
  "rgb": {
    "r": 35,
    "g": 63,
    "b": 137
  },
  "hsl": {
    "h": 223.529,
    "s": 59.302,
    "l": 33.725
  },
  "oklch": {
    "l": 0.39127,
    "c": 0.12826,
    "h": 265.3
  },
  "luminance": 0.05718
}

Semantic roles & 50–950 ramp

primary
#233F89
secondary
#B79B51
accent
#B745E2
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #233F89

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

Preview Lab → · Contrast checker → · Palette generator →

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