#233A89#233A89

#233A89 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.1% C 0.135 H 267.3°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#233A89
RGBrgb(35, 58, 137)
HSLhsl(226, 59%, 34%)
HSVhsv(226, 74%, 54%)
CMYKcmyk(74.5%, 57.7%, 0%, 46.3%)
CIE-LABlab(27.27, 20.26, -46.73)
CIE-LCHlch(27.27, 50.94, 293.44°)
OKLaboklab(38.05% -0.0063 -0.1347)
OKLCHoklch(38.05% 0.135 267.3)
XYZxyz(6.7200, 5.1889, 24.3095)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233A89 #897223
analogous
#236D89 #233A89 #3F2389
triadic
#233A89 #89233A #3A8923
tetradic
#233A89 #89236D #897223 #23893F
square
#233A89 #89236D #897223 #23893F
split-complementary
#233A89 #893F23 #6D8923
monochromatic
#0A1128 #172558 #233A89 #2F4FBA #5370D3

Accessibility & contrast

On white

10.30
#233A89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#233A89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233A89
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233A89#FFFFFF#000000##FFFFFF
##233A891.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458C
Deuteranopia (green-blind)
#003C87
Tritanopia (blue-blind)
#004D5B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #233a89;
/* rgb */ color: rgb(35, 58, 137);
/* oklch */ color: oklch(38.1% 0.135 267.3);
Tailwind
colors: {
  custom: {
    50: '#6d6fac',
    500: '#233a89',
    950: '#000000',
  },
}
SCSS
$custom: #233a89;
$custom-light: #6d6fac;
$custom-dark: #000000;
JSON
{
  "hex": "#233a89",
  "rgb": {
    "r": 35,
    "g": 58,
    "b": 137
  },
  "hsl": {
    "h": 226.471,
    "s": 59.302,
    "l": 33.725
  },
  "oklch": {
    "l": 0.38053,
    "c": 0.13484,
    "h": 267.3
  },
  "luminance": 0.0519
}

Semantic roles & 50–950 ramp

primary
#233A89
secondary
#B7A051
accent
#BF45E2
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #233A89

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

Preview Lab → · Contrast checker → · Palette generator →

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