#232A57#232A57

#232A57 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.5% C 0.081 H 274.0°. Best body text is #FFFFFF at 13.63:1 contrast (WCAG AA passes).

Color values

HEX#232A57
RGBrgb(35, 42, 87)
HSLhsl(232, 43%, 24%)
HSVhsv(232, 60%, 34%)
CMYKcmyk(59.8%, 51.7%, 0%, 65.9%)
CIE-LABlab(18.80, 12.11, -28.28)
CIE-LCHlch(18.80, 30.76, 293.19°)
OKLaboklab(30.46% 0.0056 -0.0806)
OKLCHoklch(30.46% 0.081 274)
XYZxyz(3.2408, 2.7011, 9.3656)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232A57 #575023
analogous
#234457 #232A57 #362357
triadic
#232A57 #57232A #2A5723
tetradic
#232A57 #572344 #575023 #235736
square
#232A57 #572344 #575023 #235736
split-complementary
#232A57 #573623 #445723
monochromatic
#090B16 #11152B #232A57 #353F83 #4654AE

Accessibility & contrast

On white

13.63
#232A57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#232A57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232A57
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232A57#FFFFFF#000000##FFFFFF
##232A571.0013.631.5413.63
#FFFFFF13.631.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153059
Deuteranopia (green-blind)
#0E2C56
Tritanopia (blue-blind)
#08343C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #232a57;
/* rgb */ color: rgb(35, 42, 87);
/* oklch */ color: oklch(30.5% 0.081 274.0);
Tailwind
colors: {
  custom: {
    50: '#636387',
    500: '#232a57',
    950: '#000000',
  },
}
SCSS
$custom: #232a57;
$custom-light: #636387;
$custom-dark: #000000;
JSON
{
  "hex": "#232a57",
  "rgb": {
    "r": 35,
    "g": 42,
    "b": 87
  },
  "hsl": {
    "h": 231.923,
    "s": 42.623,
    "l": 23.922
  },
  "oklch": {
    "l": 0.30463,
    "c": 0.08082,
    "h": 274
  },
  "luminance": 0.02701
}

Semantic roles & 50–950 ramp

primary
#232A57
secondary
#8B824B
accent
#C255D2
background
#F6F5F8
surface
#EBEAEF
border
#C6C6CA
text
#05050B
muted
#7A797C

Preview Lab

Preview with #232A57

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

Preview Lab → · Contrast checker → · Palette generator →

#232A57 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva