#233A7F#233A7F

#233A7F is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.2% C 0.120 H 266.6°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#233A7F
RGBrgb(35, 58, 127)
HSLhsl(225, 57%, 32%)
HSVhsv(225, 72%, 50%)
CMYKcmyk(72.4%, 54.3%, 0%, 50.2%)
CIE-LABlab(26.49, 16.33, -41.75)
CIE-LCHlch(26.49, 44.83, 291.36°)
OKLaboklab(37.22% -0.0071 -0.12)
OKLCHoklch(37.22% 0.12 266.6)
XYZxyz(6.0356, 4.9151, 20.7052)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233A7F #7F6823
analogous
#23687F #233A7F #3A237F
triadic
#233A7F #7F233A #3A7F23
tetradic
#233A7F #7F2368 #7F6823 #237F3A
square
#233A7F #7F2368 #7F6823 #237F3A
split-complementary
#233A7F #7F3A23 #687F23
monochromatic
#090E1F #16244F #233A7F #3050AF #4E6ECE

Accessibility & contrast

On white

10.59
#233A7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#233A7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233A7F
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233A7F#FFFFFF#000000##FFFFFF
##233A7F1.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C4381
Deuteranopia (green-blind)
#003B7E
Tritanopia (blue-blind)
#004A56
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #233a7f;
/* rgb */ color: rgb(35, 58, 127);
/* oklch */ color: oklch(37.2% 0.120 266.6);
Tailwind
colors: {
  custom: {
    50: '#6b6fa5',
    500: '#233a7f',
    950: '#000000',
  },
}
SCSS
$custom: #233a7f;
$custom-light: #6b6fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#233a7f",
  "rgb": {
    "r": 35,
    "g": 58,
    "b": 127
  },
  "hsl": {
    "h": 225,
    "s": 56.79,
    "l": 31.765
  },
  "oklch": {
    "l": 0.37224,
    "c": 0.12024,
    "h": 266.6
  },
  "luminance": 0.04916
}

Semantic roles & 50–950 ramp

primary
#233A7F
secondary
#B1984C
accent
#BA48E0
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #233A7F

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

Preview Lab → · Contrast checker → · Palette generator →

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