#233A87#233A87

#233A87 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 37.9% C 0.132 H 267.2°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#233A87
RGBrgb(35, 58, 135)
HSLhsl(226, 59%, 33%)
HSVhsv(226, 74%, 53%)
CMYKcmyk(74.1%, 57%, 0%, 47.1%)
CIE-LABlab(27.11, 19.47, -45.75)
CIE-LCHlch(27.11, 49.72, 293.06°)
OKLaboklab(37.88% -0.0065 -0.1318)
OKLCHoklch(37.88% 0.132 267.2)
XYZxyz(6.5778, 5.1320, 23.5609)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233A87 #877023
analogous
#236C87 #233A87 #3E2387
triadic
#233A87 #87233A #3A8723
tetradic
#233A87 #87236C #877023 #23873E
square
#233A87 #87236C #877023 #23873E
split-complementary
#233A87 #873E23 #6C8723
monochromatic
#0A1026 #162556 #233A87 #304FB8 #5270D2

Accessibility & contrast

On white

10.36
#233A87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#233A87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233A87
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233A87#FFFFFF#000000##FFFFFF
##233A871.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458A
Deuteranopia (green-blind)
#003C85
Tritanopia (blue-blind)
#004D5A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #233a87;
/* rgb */ color: rgb(35, 58, 135);
/* oklch */ color: oklch(37.9% 0.132 267.2);
Tailwind
colors: {
  custom: {
    50: '#6c6fab',
    500: '#233a87',
    950: '#000000',
  },
}
SCSS
$custom: #233a87;
$custom-light: #6c6fab;
$custom-dark: #000000;
JSON
{
  "hex": "#233a87",
  "rgb": {
    "r": 35,
    "g": 58,
    "b": 135
  },
  "hsl": {
    "h": 226.2,
    "s": 58.824,
    "l": 33.333
  },
  "oklch": {
    "l": 0.37884,
    "c": 0.13195,
    "h": 267.2
  },
  "luminance": 0.05133
}

Semantic roles & 50–950 ramp

primary
#233A87
secondary
#B69E50
accent
#BE46E2
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #233A87

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

Preview Lab → · Contrast checker → · Palette generator →

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